logo       

Re: After-XTT's extension of the encoding field.: msg#00016

xfree86.fonts

Subject: Re: After-XTT's extension of the encoding field.

Jungshik Shin <jshin@xxxxxxxxxxx> さんは書きました:

> On Thu, 7 Aug 2003, Mike FABIAN wrote:
>
>> Jungshik Shin <jshin@xxxxxxxxxxx> さんは書きました:
>>
>> > On Sat, 2 Aug 2003, Chisato Yamauchi wrote:
>> >
>> >> Have you seen CJK's *TYPICAL* fonts.dir of TrueType fonts?
>> >> It is following:
>> >
>> > Not many people would be fond of tweaking fonts.dir/scale files
>> > these days :-)
>
>> It can be automatically generated. The /usr/sbin/fonts-config script
>> on SuSE Linux generates such TTCap entries automatically into the
>> fonts.dir if it detects that xtt is enabled in /etc/X11/XF86Config.
>
> That sounds nice. It'll certainly make things easier. However, it could
> make some people frustrated if it just overwrites the existing fonts.dir
> (I don't know whether fonts-config on SuSE Linux does that or not)

Yes, it does.

> that was 'hand-tweaked' to their satisfaction. In the past, I made it
> a rule to back up fonts.dir/fonts.scale after losing heavily customized
> fonts.dir/fonts.scale to an automated tool a couple of times.

But my fonts-config script also lets you use 'hand-tweaked' files if
you want. The script checks whether fonts.scale.* files exist and
merges these into the automatically generated fonts.scale file. It
deletes all automatically generated entries for fonts which have
manual entries in any fonts.scale.* file, i.e. the manual entries have
higher priority. That means if you want to use 'hand-tweaked' entries
for a font foo.ttf, you can add those into a file called
fonts.scale.jungshik. If there is at least one manual entry for
foo.ttf in a fonts.scale.* file, no automatic entries will be created
for foo.ttf, i.e. if you want to use manual entries for foo.ttf, you
have to supply all of them you need.

--
Mike Fabian <mfabian@xxxxxxx> http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise