[Pkg-fonts-bugs] Bug#361965: fontnames
Mohammed Adnène Trojette
adn+deb at diwi.org
Wed May 3 12:23:19 UTC 2006
On Tue, Apr 11, 2006, Gürkan Sengün wrote:
> Package: ttf-arabeyes
> Version: 1.1-4
> Severity: wishlist
>
> can you rename the fonts to their names without ae_ in the beginning?
> it'd look much better and sorted more natural that way: see this screenshot:
> http://www.linuks.mine.nu/people/nadim/arabeyes.png
> i'd also like to know how you do that...
Hi Gürkan!
Here is how I did that:
#!/usr/bin/fontforge
# Drop the ae_ prefix in the Arabeyes fonts
i=1
while ( i<$argc )
Open($argv[i])
name=Strsub( $fontname, 3 )
SetFontNames( name, name, name )
Generate($argv[i]:r + ".ttf")
i = i+1
endloop
Is it OK?
--
adn
Mohammed Adnène Trojette
More information about the Pkg-fonts-bugs
mailing list