[Bug 907330] Fix the PostScript name in font files

bugzilla at redhat.com bugzilla at redhat.com
Mon Feb 4 09:10:15 UTC 2013


Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=907330

--- Comment #3 from Parag <pnemade at redhat.com> ---
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|&#225;&#128;&#149;&#225;&#128;&#173;&#225;&#128;&#144;&#225;&#128;&#177;&#225;&#128;&#172;&#225;&#128;&#128;&#225;&#128;&#186;|Padauk|g'
Padauk*.ttx

sed -i
's|&#225;&#128;&#133;&#225;&#128;&#172;&#225;&#128;&#156;&#225;&#128;&#175;&#225;&#128;&#182;&#225;&#128;&#184;&#225;&#128;&#153;&#225;&#128;&#178;|Bold|g'
Padauk*.ttx

sed -i
's|&#225;&#128;&#133;&#225;&#128;&#172;&#225;&#128;&#161;&#225;&#128;&#175;&#225;&#128;&#149;&#225;&#128;&#186;|Book|g'
Padauk-book*.ttx
rm *.ttf
ttx Padauk*.ttx

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=mNuqNqsvYx&a=cc_unsubscribe


More information about the fonts-bugs mailing list