Closed Bug 127618 Opened 24 years ago Closed 4 years ago

GFX FreeType should handle localized family name

Categories

(Core :: Internationalization, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID
Future

People

(Reporter: masaki.katakai, Unassigned)

Details

(Keywords: intl)

Attachments

(2 files)

It seems that Japanese TrueType fonts have localized family name other than ascii name. I'm not sure how to get such strings and how to know which encoding is used. It seems that FT2 gets ascii name from font file, which is itself correct behavior, I think. However, users would be very happy when users know localized family name when they're using Mozilla on Japanese locale and using such Japanese fonts.
Assign to Brian.
Assignee: yokoyama → bstell
I haven't looked at this carefully, but http://www.freetype.org/freetype2/docs/reference/ft2-sfnt_names.html#FT_Get_Sfnt_Name can be used to get localized font name...
usage: getfontnames <ttf or ttc file> extract all fontnames for all languages in ttf/ttc. output encoding is UTF-8.
Attached file source code —
# sorry, the attachment below is binary executable.. (Linux/freetype-2.0.6/glibc- 2.2.4)
Katakai: great work! Could you work with Shanjian and Frank to figure out what is needed to get this data to the preference dialog?
Keywords: intl
QA Contact: ruixu → ylong
Target Milestone: --- → mozilla1.1
Matsumoto-san kindly has put the example codes. Thank you, Matsumoto-san.
katakai- can you take this bug ?
Assignee: bstell → katakai
retargeting
Target Milestone: mozilla1.1alpha → Future
QA Contact: amyy → i18n

The bug assignee didn't login in Bugzilla in the last 7 months.
:m_kato, could you have a look please?
For more information, please visit auto_nag documentation.

Assignee: masaki.katakai → nobody
Flags: needinfo?(m_kato)

Closing old bugs as invalid.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
Flags: needinfo?(m_kato)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: