[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#217514: xutils: update-fonts-dir cannot process *.ttc fonts



Package: xutils
Version: 4.2.1-12.1

I suppose the default truetype frontend in XFree86 is freetype, not xtt.
I don't think it matters which truetype frontend I use.
Both freetype and xtt modules support multiple typefaces
in *.ttc truetype fonts. But update-fonts-scale and update-fonts-dir
cannot create entries for *.ttc fonts in fonts.dir.

For example, I created a file called ttf-hanyang-batang.scale
in /etc/X11/fonts/TrueType with the following contents:

8
:0:batang.ttc -hanyang-batang-medium-r-normal--0-0-0-0-p-0-iso10646-1
:0:batang.ttc -hanyang-batang-medium-r-normal--0-0-0-0-p-0-ksc5601.1987-0
:1:batang.ttc -hanyang-batang-medium-r-normal--0-0-0-0-c-0-iso10646-1
:1:batang.ttc -hanyang-batang-medium-r-normal--0-0-0-0-c-0-ksc5601.1987-0
:2:batang.ttc -hanyang-gungsuh-medium-r-normal--0-0-0-0-p-0-iso10646-1
:2:batang.ttc -hanyang-gungsuh-medium-r-normal--0-0-0-0-p-0-ksc5601.1987-0
:3:batang.ttc -hanyang-gungsuh-medium-r-normal--0-0-0-0-c-0-iso10646-1
:3:batang.ttc -hanyang-gungsuh-medium-r-normal--0-0-0-0-c-0-ksc5601.1987-0

This is acceptable entries for truetype frontend.
Then I executed :

#update-fonts-scale TrueType
#update-fonts-dir TrueType

However, the resulting fonts.scale and fonts.dir do not contain the above
entries for
batang.ttc font.

I think this is a problem to end users, because TrueType font support
wouldn't be complete without support for *.ttc and *.otc fonts.
Would you fix update-fonts-scale and update-fonts-dir script so that
they will be able to also process *.ttc/*.otc fonts?
Thanks.




________________________________________
네띠앙 프리미엄 메일 오픈! (SMTP, 스팸메일 필터링 제공) http://www.netian.com/premium_mail/main.html





Reply to: