Getting Pango To Display Chinese
- From: PagCal <pagcal runbox com>
- To: gtk-i18n-list gnome org
- Subject: Getting Pango To Display Chinese
- Date: Mon, 23 Jan 2006 04:07:27 -0500
I've been trying to get Pango to display Simplified Chinese for several
days without success.
Can someone tell me how pango goes about selecting fonts to use?
Early on, I had the examples/ displaying HELLO.utf8 properly, but then
something changed, and I can't get back to that point. Pango thought it
was using 'Sans 18', that, somehow would display the fonts properly.
Efforts have included upgrading to the latest stable pango, glib, cairo,
libXft, gtk+-2, atk, freetype, fontconfig, etc.
If I set the environmental variable XFT_DEBUG to 1023, then trace
libXft, when pango-xftview runs, it displays little boxes with numbers
in them. Here's the trace
Caching glyph 0xb size 204
FontFile /usr/X11R6/lib/X11/fonts/TTF/luxisr.ttf/0 matches existing (2)
XftFontInfoFill: /usr/X11R6/lib/X11/fonts/TTF/luxisr.ttf: 0 (24 pixels)
FontFile /usr/X11R6/lib/X11/fonts/TTF/luximr.ttf/0 matches new
XftFontInfoFill: /usr/X11R6/lib/X11/fonts/TTF/luximr.ttf: 0 (12 pixels)
New font /usr/X11R6/lib/X11/fonts/TTF/luximr.ttf/0 size 12x12
Loading file /usr/X11R6/lib/X11/fonts/TTF/luximr.ttf/0
Set face size to 12x12 (768x768)
Set face matrix to (1,0,0,1)
glyph 19:
xywh (0 640 512 640), trans (0 512 640 0) wh (8 10)
=**; |
;+ #: |
#: =+ |
# :# |
.# .# |
.# .# |
# :# |
*: ;+ |
;+ *: |
=**;
What's it doing with TTF/luxisr.ttf when it should be displaying
- isas - * - * et all?
BTW, xfontsel lets me display -isas-*-* properly.
So, how do I get pango to select it?
Cal Page
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]