Bug 907330 - Fix the PostScript name in font files
Summary: Fix the PostScript name in font files
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: sil-padauk-fonts
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Minto Joseph
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-04 06:38 UTC by Parag Nemade
Modified: 2013-11-18 01:47 UTC (History)
6 users (show)

Fixed In Version: sil-padauk-fonts-2.8-4.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-13 09:45:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Parag Nemade 2013-02-04 06:38:29 UTC
Description of problem:
Fix the PostScript name in font files. The PostScript name is in ASCII encoding. Convert it to Unicode.

Version-Release number of selected component (if applicable):
sil-padauk-fonts-2.8-2.fc18

How reproducible:
always

Steps to Reproduce:
1.open font in fontforge
2. Font Info-> Font name is not valid
3.
  
Actual results:
Font PostScript name is not valid.

Expected results:
Font PostScript name should be valid.

Additional info:

Comment 1 Parag Nemade 2013-02-04 06:39:11 UTC
I will patch the ttf files to at least fc-scan extract the correct font name.

Comment 2 Paul Flo Williams 2013-02-04 08:01:05 UTC
PostScript names are defined to be in ASCII. If you want Unicode characters, you need to fix the names in the "name" table.

It would help if the bug report said what you thought was actually wrong, rather than just what you believe you need to change.

Comment 3 Parag Nemade 2013-02-04 09:10:15 UTC
oops! sorry I mean to have the PostScript name in ASCII only. sorry I wrote it in opposite. Don't know what format existing name is and why can't be it rendered as it is.

Here is simple way to fix those font files to make rpm happy
------------------------------------------------------------
%build
# Following is needed to fix the postscript font name
ttx *.ttf
sed -i 's|ပိတောက်|Padauk|g' Padauk*.ttx

sed -i 's|စာလုံးမဲ|Bold|g' Padauk*.ttx

sed -i 's|စာအုပ်|Book|g' Padauk-book*.ttx
rm *.ttf
ttx Padauk*.ttx

rm *.ttx
-------------------------------------------------------------------------

Comment 4 Parag Nemade 2013-03-13 09:45:02 UTC
Fixed in sil-padauk-fonts-2.8-4.fc19


Note You need to log in before you can comment on or make changes to this bug.