Opened 9 years ago

Closed 5 years ago

#6953 closed bug (fixed)

add TrueType Font to mimetype list

Reported by: Disreali Owned by: nobody
Priority: normal Milestone: R1
Component: - General Version: R1/Development
Keywords: font truetype Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All


As of hrev39707, TrueType Font mimetype is missing from the beos-mime list. There are a couple variations of "application/x-truetype" in the src, just not in the beos-mime code.

See bottom of page 2 and top of page 3

Change History (9)

comment:1 by humdinger, 9 years ago

I'm not sure in what situations the Haiku project deems an entry in the mime-db useful. At the moment, we have no icon for fonts, I think. We also have no app that can do something useful with ttf (DiskProbe aside). So, adding the mimetype wouldn't really gain anything besides an entry in the "Kind" column. Which may be exactly what you're aiming at... Or am I missing something?

in reply to:  1 comment:2 by siarzhuk, 9 years ago

Replying to humdinger:

We also have no app that can do something useful with ttf (DiskProbe aside).

By the way, are we need the FontView application like one written for BeOS by Michal Kowalski ( Have anybody asked him to donate sources of the FontView to Haiku Community? I have used all his BeOS applications for many years and found them compact and elegant. ;-)

comment:3 by axeld, 9 years ago

I wouldn't mind a translator (or even viewer) for fonts based on, but I would be against adding an application that can only display parts of the installed fonts.

comment:4 by humdinger, 9 years ago

CharacterMap can be used to examine a font, or you use the Fonts prefs or FontDemo to see it actually displaying a specific text. I'm not sure what you mean with a translator for fonts. I imagine something that let's me open a font in a text editor like StyledEdit which would show examples of the font in various sizes, styles and colours. This would be kinda cool and unexpected use of a translator... :)

comment:5 by korli, 9 years ago

The mime type to be added would be "application/x-font-ttf"

comment:6 by korli, 9 years ago

mimetype added in hrev39758.

comment:7 by Disreali, 9 years ago

Is this completed, or is there more to do?

comment:8 by korli, 9 years ago

The original bug report is actually completed. The remaining question is if we need to associate an application to this type.

comment:9 by pulkomandy, 5 years ago

Resolution: fixed
Status: newclosed

Well I consider this complete. Apps are welcome to register themselves as the preferred application but currently there is no candidate for this in Haiku.

Note: See TracTickets for help on using tickets.