summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-12-06 23:35:30 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-12-06 23:35:30 +0000
commit971a1e252fe2ba426bc2ea298579711fe9a883a3 (patch)
tree30336ff5a292f1a6301d81ea3f9e631bbf9d3a21
parent41bd5bb015197c84cbd7065fd6ef95675966f259 (diff)
downloadpango-971a1e252fe2ba426bc2ea298579711fe9a883a3.tar.gz
Convert literal UTF-8 to hex escapes. (#92050, Arnaud Carlet)
Fri Dec 6 18:30:36 2002 Owen Taylor <otaylor@redhat.com> * pango/pango-utils.c: Convert literal UTF-8 to hex escapes. (#92050, Arnaud Carlet) * pango/testfonts.c: Convert literal ISO-8859-1 to UTF-8 hex escapes. (Don't know how passing ISO-8859-1 to pango_shape() was working...)
-rw-r--r--ChangeLog9
-rw-r--r--ChangeLog.pre-1-109
-rw-r--r--ChangeLog.pre-1-29
-rw-r--r--ChangeLog.pre-1-49
-rw-r--r--ChangeLog.pre-1-69
-rw-r--r--ChangeLog.pre-1-89
-rw-r--r--pango/pango-utils.c38
-rw-r--r--pango/testfonts.c2
8 files changed, 74 insertions, 20 deletions
diff --git a/ChangeLog b/ChangeLog
index 78ebd3a4..b7d55c6f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+Fri Dec 6 18:30:36 2002 Owen Taylor <otaylor@redhat.com>
+
+ * pango/pango-utils.c: Convert literal UTF-8 to hex
+ escapes. (#92050, Arnaud Charlet)
+
+ * pango/testfonts.c: Convert literal ISO-8859-1
+ to UTF-8 hex escapes. (Don't know how passing
+ ISO-8859-1 to pango_shape() was working...)
+
Fri Dec 6 18:07:48 2002 Owen Taylor <otaylor@redhat.com>
* modules/indic/devanagari-x.c, pango/modules.c
diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10
index 78ebd3a4..b7d55c6f 100644
--- a/ChangeLog.pre-1-10
+++ b/ChangeLog.pre-1-10
@@ -1,3 +1,12 @@
+Fri Dec 6 18:30:36 2002 Owen Taylor <otaylor@redhat.com>
+
+ * pango/pango-utils.c: Convert literal UTF-8 to hex
+ escapes. (#92050, Arnaud Charlet)
+
+ * pango/testfonts.c: Convert literal ISO-8859-1
+ to UTF-8 hex escapes. (Don't know how passing
+ ISO-8859-1 to pango_shape() was working...)
+
Fri Dec 6 18:07:48 2002 Owen Taylor <otaylor@redhat.com>
* modules/indic/devanagari-x.c, pango/modules.c
diff --git a/ChangeLog.pre-1-2 b/ChangeLog.pre-1-2
index 78ebd3a4..b7d55c6f 100644
--- a/ChangeLog.pre-1-2
+++ b/ChangeLog.pre-1-2
@@ -1,3 +1,12 @@
+Fri Dec 6 18:30:36 2002 Owen Taylor <otaylor@redhat.com>
+
+ * pango/pango-utils.c: Convert literal UTF-8 to hex
+ escapes. (#92050, Arnaud Charlet)
+
+ * pango/testfonts.c: Convert literal ISO-8859-1
+ to UTF-8 hex escapes. (Don't know how passing
+ ISO-8859-1 to pango_shape() was working...)
+
Fri Dec 6 18:07:48 2002 Owen Taylor <otaylor@redhat.com>
* modules/indic/devanagari-x.c, pango/modules.c
diff --git a/ChangeLog.pre-1-4 b/ChangeLog.pre-1-4
index 78ebd3a4..b7d55c6f 100644
--- a/ChangeLog.pre-1-4
+++ b/ChangeLog.pre-1-4
@@ -1,3 +1,12 @@
+Fri Dec 6 18:30:36 2002 Owen Taylor <otaylor@redhat.com>
+
+ * pango/pango-utils.c: Convert literal UTF-8 to hex
+ escapes. (#92050, Arnaud Charlet)
+
+ * pango/testfonts.c: Convert literal ISO-8859-1
+ to UTF-8 hex escapes. (Don't know how passing
+ ISO-8859-1 to pango_shape() was working...)
+
Fri Dec 6 18:07:48 2002 Owen Taylor <otaylor@redhat.com>
* modules/indic/devanagari-x.c, pango/modules.c
diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6
index 78ebd3a4..b7d55c6f 100644
--- a/ChangeLog.pre-1-6
+++ b/ChangeLog.pre-1-6
@@ -1,3 +1,12 @@
+Fri Dec 6 18:30:36 2002 Owen Taylor <otaylor@redhat.com>
+
+ * pango/pango-utils.c: Convert literal UTF-8 to hex
+ escapes. (#92050, Arnaud Charlet)
+
+ * pango/testfonts.c: Convert literal ISO-8859-1
+ to UTF-8 hex escapes. (Don't know how passing
+ ISO-8859-1 to pango_shape() was working...)
+
Fri Dec 6 18:07:48 2002 Owen Taylor <otaylor@redhat.com>
* modules/indic/devanagari-x.c, pango/modules.c
diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8
index 78ebd3a4..b7d55c6f 100644
--- a/ChangeLog.pre-1-8
+++ b/ChangeLog.pre-1-8
@@ -1,3 +1,12 @@
+Fri Dec 6 18:30:36 2002 Owen Taylor <otaylor@redhat.com>
+
+ * pango/pango-utils.c: Convert literal UTF-8 to hex
+ escapes. (#92050, Arnaud Charlet)
+
+ * pango/testfonts.c: Convert literal ISO-8859-1
+ to UTF-8 hex escapes. (Don't know how passing
+ ISO-8859-1 to pango_shape() was working...)
+
Fri Dec 6 18:07:48 2002 Owen Taylor <otaylor@redhat.com>
* modules/indic/devanagari-x.c, pango/modules.c
diff --git a/pango/pango-utils.c b/pango/pango-utils.c
index 0189328d..66c80aa8 100644
--- a/pango/pango-utils.c
+++ b/pango/pango-utils.c
@@ -1167,30 +1167,30 @@ lang_info_compare (const void *key, const void *val)
* there are obviously many more languages to include as well.
*/
static LangInfo lang_texts[] = {
- { "ar", "Arabic السلام عليكم" },
- { "cs", "Czech (česky) Dobrý den" },
+ { "ar", "Arabic \xd8\xa7\xd9\x84\xd8\xb3\xd9\x84\xd8\xa7\xd9\x85 \xd8\xb9\xd9\x84\xd9\x8a\xd9\x83\xd9\x85" },
+ { "cs", "Czech (\xc4\x8desky) Dobr\xc3\xbd den" },
{ "da", "Danish (Dansk) Hej, Goddag" },
- { "el", "Greek (Ελληνικά) Γειά σας" },
+ { "el", "Greek (\xce\x95\xce\xbb\xce\xbb\xce\xb7\xce\xbd\xce\xb9\xce\xba\xce\xac) \xce\x93\xce\xb5\xce\xb9\xce\xac \xcf\x83\xce\xb1\xcf\x82" },
{ "en", "English Hello" },
{ "eo", "Esperanto Saluton" },
- { "es", "Spanish (Español) ¡Hola!" },
+ { "es", "Spanish (Espa\xc3\xb1ol) \xc2\xa1Hola!" },
{ "et", "Estonian Tere, Tervist" },
- { "fi", "Finnish (Suomi) Hei, Hyvää päivää" },
- { "fr", "French (Français)" },
- { "de", "German Grüß Gott" },
- { "iw", "Hebrew שלום" },
+ { "fi", "Finnish (Suomi) Hei, Hyv\xc3\xa4\xc3\xa4 p\xc3\xa4iv\xc3\xa4\xc3\xa4" },
+ { "fr", "French (Fran\xc3\xa7ais)" },
+ { "de", "German Gr\xc3\xbc\xc3\x9f Gott" },
+ { "iw", "Hebrew \xd7\xa9\xd7\x9c\xd7\x95\xd7\x9d" },
{ "il", "Italiano Ciao, Buon giorno" },
- { "ja", "Japanese (日本語) こんにちは, コンニチハ" },
- { "ko", "Korean (한글) 안녕하세요, 안녕하십니까" },
- { "mt", "Maltese Ċaw, Saħħa" },
+ { "ja", "Japanese (\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e) \xe3\x81\x93\xe3\x82\x93\xe3\x81\xab\xe3\x81\xa1\xe3\x81\xaf, \xef\xbd\xba\xef\xbe\x9d\xef\xbe\x86\xef\xbe\x81\xef\xbe\x8a" },
+ { "ko", "Korean (\xed\x95\x9c\xea\xb8\x80) \xec\x95\x88\xeb\x85\x95\xed\x95\x98\xec\x84\xb8\xec\x9a\x94, \xec\x95\x88\xeb\x85\x95\xed\x95\x98\xec\x8b\xad\xeb\x8b\x88\xea\xb9\x8c" },
+ { "mt", "Maltese \xc4\x8aaw, Sa\xc4\xa7\xc4\xa7a" },
{ "nl", "Nederlands, Vlaams Hallo, Dag" },
{ "no", "Norwegian (Norsk) Hei, God dag" },
- { "pl", "Polish Dzień dobry, Hej" },
- { "ru", "Russian (Русский)" },
- { "sk", "Slovak Dobrý deň" },
- { "sv", "Swedish (Svenska) Hej på dej, Goddag" },
- { "tr", "Turkish (Türkçe) Merhaba" },
- { "zh", "Chinese (中文,普通话,汉语)" }
+ { "pl", "Polish Dzie\xc5\x84 dobry, Hej" },
+ { "ru", "Russian (\xd0\xa0\xd1\x83\xd1\x81\xd1\x81\xd0\xba\xd0\xb8\xd0\xb9)" },
+ { "sk", "Slovak Dobr\xc3\xbd de\xc5\x88" },
+ { "sv", "Swedish (Svenska) Hej p\xc3\xa5 dej, Goddag" },
+ { "tr", "Turkish (T\xc3\xbcrk\xc3\xa7e) Merhaba" },
+ { "zh", "Chinese (\xe4\xb8\xad\xe6\x96\x87,\xe6\x99\xae\xe9\x80\x9a\xe8\xaf\x9d,\xe6\xb1\x89\xe8\xaf\xad)" }
};
/**
@@ -1220,14 +1220,14 @@ pango_language_get_sample_string (PangoLanguage *language)
if (lang_info)
result = lang_info->str;
else
- result = "French (Français)"; /* Assume iso-8859-1 */
+ result = "French (Fran\xc3\xa7ais)"; /* Assume iso-8859-1 */
}
else
{
/* Complete junk
*/
- result = "السلام عليكم česky Ελληνικά Français 日本語 한글 Русский 中文,普通话,汉语 Türkçe";
+ result = "\xd8\xa7\xd9\x84\xd8\xb3\xd9\x84\xd8\xa7\xd9\x85 \xd8\xb9\xd9\x84\xd9\x8a\xd9\x83\xd9\x85 \xc4\x8desky \xce\x95\xce\xbb\xce\xbb\xce\xb7\xce\xbd\xce\xb9\xce\xba\xce\xac Fran\xc3\xa7ais \xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e \xed\x95\x9c\xea\xb8\x80 \xd0\xa0\xd1\x83\xd1\x81\xd1\x81\xd0\xba\xd0\xb8\xd0\xb9 \xe4\xb8\xad\xe6\x96\x87,\xe6\x99\xae\xe9\x80\x9a\xe8\xaf\x9d,\xe6\xb1\x89\xe8\xaf\xad T\xc3\xbcrk\xc3\xa7e";
}
return result;
diff --git a/pango/testfonts.c b/pango/testfonts.c
index 94f81d6d..e387eee8 100644
--- a/pango/testfonts.c
+++ b/pango/testfonts.c
@@ -192,7 +192,7 @@ int main (int argc, char **argv)
PangoGlyphString * glyphs;
char s[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"abcdefghijklmnopqrstuvwxyz"
- "1234567890 -+*/!$%&()[]{}<>|#=?@";
+ "1234567890 -+*/!\xc2\xa7$%&()[]{}<>|#=?@";
g_get_current_time (&tv0);
coverage = pango_font_get_coverage (font, lang);