木曜日, 10月 19, 2006

Work: workaround for font issue on 10/16

I tried to change "libfontconfig.so.1"(build 50) for old one(build38).
It seems like that font issue doesn't come up so far.

But, I'm not sure "libfontsconfig.so.1" is root cause.

% pgrep thunderbird-bin
5423
% pldd 5423 | grep font
/usr/lib/libfontconfig.so.1
%
% bzcat Product/SUNWfontconfig/archive/none.bz2 | cpio -dvif -
bin/fc-cache
bin/fc-list
include/fontconfig/fcfreetype.h
include/fontconfig/fcprivate.h
include/fontconfig/fontconfig.h
lib/amd64/libfontconfig.so.1
lib/amd64/pkgconfig/fontconfig.pc
lib/libfontconfig.so.1
lib/pkgconfig/fontconfig.pc

# cd /usr/lib
# mv libfontconfig.so.1 libfontconfig.so.1.back
# cp -p /tmp/font/lib/libfontconfig.so.1 .
# chmod 755 libfontconfig.so.1
#

% thunderbird &
[1] 5396
Fontconfig warning: line 705: unknown element "poor"
Fontconfig warning: line 707: unknown element "lang"

%

###
### Maybe, this warning is ignorable, if we don't need to use AR locale.
###

% diff -c fonts.conf /etc/fonts/fonts.conf
*** fonts.conf <-- build 38
--- /etc/fonts/fonts.conf < -- build 50
***************
*** 696,699 ****
--- 696,710 ----
</edit>
</match>

+ <!--
+ Mark Lucida Sans Typewriter as poor support for AR locale
+ Use KacstQurn instead.
+ -->
+ <alias>
+ <family>Monospace</family>
+ <poor>
+ <family>Lucida Sans Typewriter</family>
+ <lang>ar</lang>
+ </poor>
+ </alias>
</fontconfig>