diff options
author | Pablo Saratxaga <pablo@src.gnome.org> | 2000-11-01 13:42:49 +0000 |
---|---|---|
committer | Pablo Saratxaga <pablo@src.gnome.org> | 2000-11-01 13:42:49 +0000 |
commit | 944d744a867f9b612cacf83605514a8a926933d1 (patch) | |
tree | 268477a86522f6cea5d0345ce7df9bc2500b9cfd /modules | |
parent | b00a32cc4f7b8783d673f31502b4ef3555486995 (diff) | |
download | pango-944d744a867f9b612cacf83605514a8a926933d1.tar.gz |
improved some X11 fotn registry aliases
Diffstat (limited to 'modules')
-rw-r--r-- | modules/arabic/arabic-x.c | 4 | ||||
-rw-r--r-- | modules/arabic/arabic.c | 4 | ||||
-rw-r--r-- | modules/arabic/naqshfont.c | 2 | ||||
-rw-r--r-- | modules/thai/thai-x.c | 4 | ||||
-rw-r--r-- | modules/thai/thai.c | 4 |
5 files changed, 13 insertions, 5 deletions
diff --git a/modules/arabic/arabic-x.c b/modules/arabic/arabic-x.c index 64761783..6b10fc19 100644 --- a/modules/arabic/arabic-x.c +++ b/modules/arabic/arabic-x.c @@ -134,7 +134,7 @@ find_unic_font (PangoFont *font,char* charsets[],PangoXSubfont* rfonts) #endif break; } - else if ( (strcmp (charsets[subfont_charsets[i]], "symbol-0") == 0) + else if ( (strcmp (charsets[subfont_charsets[i]], "urdunaqsh-0") == 0) && urdu_naqshinit(font,rfonts) ) { result = ar_standard | ar_naqshfont; @@ -180,7 +180,7 @@ static char *default_charset[] = { "iso10646-1", "iso8859-6.8x", "mulearabic-2", - "symbol-0" + "urdunaqsh-0", }; diff --git a/modules/arabic/arabic.c b/modules/arabic/arabic.c index 64761783..6b10fc19 100644 --- a/modules/arabic/arabic.c +++ b/modules/arabic/arabic.c @@ -134,7 +134,7 @@ find_unic_font (PangoFont *font,char* charsets[],PangoXSubfont* rfonts) #endif break; } - else if ( (strcmp (charsets[subfont_charsets[i]], "symbol-0") == 0) + else if ( (strcmp (charsets[subfont_charsets[i]], "urdunaqsh-0") == 0) && urdu_naqshinit(font,rfonts) ) { result = ar_standard | ar_naqshfont; @@ -180,7 +180,7 @@ static char *default_charset[] = { "iso10646-1", "iso8859-6.8x", "mulearabic-2", - "symbol-0" + "urdunaqsh-0", }; diff --git a/modules/arabic/naqshfont.c b/modules/arabic/naqshfont.c index 153df867..c390ce4d 100644 --- a/modules/arabic/naqshfont.c +++ b/modules/arabic/naqshfont.c @@ -21,7 +21,7 @@ int urdu_naqshinit(PangoFont *font,PangoXSubfont* nqfont) { static char *nq_charsets0[] = { - "symbol-0", + "urdunaqsh-0", }; PangoXSubfont *subfonts; diff --git a/modules/thai/thai-x.c b/modules/thai/thai-x.c index aaa52140..0b237d46 100644 --- a/modules/thai/thai-x.c +++ b/modules/thai/thai-x.c @@ -140,7 +140,9 @@ get_font_info (PangoFont *font) static const char *charsets[] = { "xtis620.2529-1", "xtis-0", + "tis620.2533-0", "tis620.2533-1", + "tis620.2529-0", "tis620.2529-1", "iso8859-11", "iso10646-1", @@ -152,6 +154,8 @@ get_font_info (PangoFont *font) THAI_FONT_TIS, THAI_FONT_TIS, THAI_FONT_TIS, + THAI_FONT_TIS, + THAI_FONT_TIS, THAI_FONT_ISO10646 }; diff --git a/modules/thai/thai.c b/modules/thai/thai.c index aaa52140..0b237d46 100644 --- a/modules/thai/thai.c +++ b/modules/thai/thai.c @@ -140,7 +140,9 @@ get_font_info (PangoFont *font) static const char *charsets[] = { "xtis620.2529-1", "xtis-0", + "tis620.2533-0", "tis620.2533-1", + "tis620.2529-0", "tis620.2529-1", "iso8859-11", "iso10646-1", @@ -152,6 +154,8 @@ get_font_info (PangoFont *font) THAI_FONT_TIS, THAI_FONT_TIS, THAI_FONT_TIS, + THAI_FONT_TIS, + THAI_FONT_TIS, THAI_FONT_ISO10646 }; |