Opened 8 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

Description

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

http://haiku.it.su.se:8180/source/search?n=25&start=25&q=truetype

Change History (9)

comment:1 Changed 8 years ago by humdinger

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?

comment:2 in reply to:  1 Changed 8 years ago by siarzhuk

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 (http://home.pacbell.net/michal_k/)? 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 Changed 8 years ago by axeld

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

comment:4 Changed 8 years ago by humdinger

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 Changed 8 years ago by korli

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

comment:6 Changed 8 years ago by korli

mimetype added in hrev39758.

comment:7 Changed 8 years ago by Disreali

Is this completed, or is there more to do?

comment:8 Changed 8 years ago by korli

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

comment:9 Changed 5 years ago by pulkomandy

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.