From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021018 Description of problem: Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: /etc/rc.d/init.d/xfs from XFree86-xfs rpm uses ttmkfdir (from XFree86-font-utils rpm) to create fonts.scale file in a directory with ttf fonts. Attached is a patch for ttmkfdir to add support for iso8859-13 encoding and remove fcd8859-15, which is a pre-standard for iso8859-15 and now removed from XFree86 (see XFree-fonts/i18n mailing lists). BTW, where ttmkfdir2 is taken from? I created ttmkfdir2 source by extracting ttmkfdir*patch files from XFree86-4.2.0-72.src.rpm and patching ttmkfdir2.tar.bz2 with them, a final result is almost the same as ttmkfdir2.tar.bz2 from http://people.redhat.com/yshao/. It would be nice if my patch is integrated into some official ttmkfdir2 distribution. The patch is made using the data from ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-13.TXT. Please apply, as iso8859-13 support is already added to xtt (XFree86-4.1.0-xtt.patch from XFree86 src rpm). Regards, Nerijus Additional info:
Created attachment 83531 [details] patch for iso8859-13 support in ttmkfdir
ttmkfdir was deprecated, and will be replaced by mkfontscale in the next release. There won't be any new releases with a new ttmkfdir so your feature request is unfortunately a bit late for future Red Hat Linux releases. If there were to be a future for ttmkfdir however, I'd have considered your patch for inclusion. To answer your other questions.. ttmkfdir2 is a C++ rewrite of the original ttmkfdir utility that someone did (I don't recall who), and it has remained in Red Hat Linux for many many releases now. The code is ugly, and unmaintained except for some of the fine enhancements that Yu Shao has made to it over the last few releases to provide features that we've needed, or clean up bugs and other problems. mkfontscale, which is also included with RHL 8.0, but just not really used (it was included for testing) might be more suitable for your needs. It will be used by default in the next Red Hat Linux release. mkfontscale is basically a complete rewrite of all of the various random versions of ttmkfdir floating around, type1-inst and others incorporated into one unified tool, which will be the default in XFree86 4.3.0.
In XFree86-xfs-4.2.99.3-20030115.0.i386.rpm from rawhide, ttmkfdir, not mkfontscale is still used in /etc/rc.d/init.d/xfs. If it will be so in Red Hat 8.1, *please* apply my patch. It will surely not break anything. In fact, Mandrake patches ttmkfdir (not ttmkfdir2) to add iso8859-13 support for a long time.
Doh! Sorry.. The decision to kill ttmkfdir has been reverted, however I meant to dig through bugzilla for ttmkfdir requests and reopen them, but it slipped my mind. If you know of any other similar requests that were closed WONTFIX or similar and think they're relevant, feel free to also reopen them for consideration. Reassigning to ttmkfdir component.
* Sun 12 Jan 2003 Yu Shao <yshao> 3.0.6-1 - added iso8859-13 support from Nerijus Baliunas #77289 - added README Looks like Yu Shao implemented this already. Please close as RAWHIDE once confirmed.
Yeah, Mike, I have added the patch. Confirmed.