diff options
author | Owen Taylor <otaylor@redhat.com> | 2000-01-13 22:03:29 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-01-13 22:03:29 +0000 |
commit | 75eda811778629c19472a66bbc61ecfd3d978192 (patch) | |
tree | 720efe64a6385a38adc3b2b48d1be9492c0f63c2 | |
parent | 85b2e7c75646b6a1722ff1781a221365d5c487cb (diff) | |
download | pango-75eda811778629c19472a66bbc61ecfd3d978192.tar.gz |
reindented. updated
Thu Jan 13 16:57:22 2000 Owen Taylor <otaylor@redhat.com>
* examples/viewer.c: reindented.
* README: updated
-rw-r--r-- | .cvsignore | 12 | ||||
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-0 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-10 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-2 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-4 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-6 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-8 | 5 | ||||
-rw-r--r-- | README | 7 | ||||
-rw-r--r-- | docs/.cvsignore | 6 | ||||
-rw-r--r-- | examples/.cvsignore | 6 | ||||
-rw-r--r-- | examples/viewer.c | 26 | ||||
-rw-r--r-- | modules/.cvsignore | 6 | ||||
-rw-r--r-- | modules/basic/.cvsignore | 6 | ||||
-rw-r--r-- | modules/hangul/.cvsignore | 6 | ||||
-rw-r--r-- | modules/tamil/.cvsignore | 6 | ||||
-rw-r--r-- | pango/.cvsignore | 4 | ||||
-rw-r--r-- | tools/.cvsignore | 2 |
18 files changed, 102 insertions, 20 deletions
diff --git a/.cvsignore b/.cvsignore new file mode 100644 index 00000000..297c179f --- /dev/null +++ b/.cvsignore @@ -0,0 +1,12 @@ +configure +config.h +config.h.in +config.cache +config.log +config.status +stamp-h +libtool +Makefile +Makefile.in +aclocal.m4 +stamp-h.in @@ -1,3 +1,8 @@ +Thu Jan 13 16:57:22 2000 Owen Taylor <otaylor@redhat.com> + + * examples/viewer.c: reindented. + * README: updated + Wed Jan 12 16:49:03 2000 Owen Taylor <otaylor@redhat.com> * Huge rename from GScript to Pango. diff --git a/ChangeLog.pre-1-0 b/ChangeLog.pre-1-0 index 8af0fd78..d7de2720 100644 --- a/ChangeLog.pre-1-0 +++ b/ChangeLog.pre-1-0 @@ -1,3 +1,8 @@ +Thu Jan 13 16:57:22 2000 Owen Taylor <otaylor@redhat.com> + + * examples/viewer.c: reindented. + * README: updated + Wed Jan 12 16:49:03 2000 Owen Taylor <otaylor@redhat.com> * Huge rename from GScript to Pango. diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10 index 8af0fd78..d7de2720 100644 --- a/ChangeLog.pre-1-10 +++ b/ChangeLog.pre-1-10 @@ -1,3 +1,8 @@ +Thu Jan 13 16:57:22 2000 Owen Taylor <otaylor@redhat.com> + + * examples/viewer.c: reindented. + * README: updated + Wed Jan 12 16:49:03 2000 Owen Taylor <otaylor@redhat.com> * Huge rename from GScript to Pango. diff --git a/ChangeLog.pre-1-2 b/ChangeLog.pre-1-2 index 8af0fd78..d7de2720 100644 --- a/ChangeLog.pre-1-2 +++ b/ChangeLog.pre-1-2 @@ -1,3 +1,8 @@ +Thu Jan 13 16:57:22 2000 Owen Taylor <otaylor@redhat.com> + + * examples/viewer.c: reindented. + * README: updated + Wed Jan 12 16:49:03 2000 Owen Taylor <otaylor@redhat.com> * Huge rename from GScript to Pango. diff --git a/ChangeLog.pre-1-4 b/ChangeLog.pre-1-4 index 8af0fd78..d7de2720 100644 --- a/ChangeLog.pre-1-4 +++ b/ChangeLog.pre-1-4 @@ -1,3 +1,8 @@ +Thu Jan 13 16:57:22 2000 Owen Taylor <otaylor@redhat.com> + + * examples/viewer.c: reindented. + * README: updated + Wed Jan 12 16:49:03 2000 Owen Taylor <otaylor@redhat.com> * Huge rename from GScript to Pango. diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6 index 8af0fd78..d7de2720 100644 --- a/ChangeLog.pre-1-6 +++ b/ChangeLog.pre-1-6 @@ -1,3 +1,8 @@ +Thu Jan 13 16:57:22 2000 Owen Taylor <otaylor@redhat.com> + + * examples/viewer.c: reindented. + * README: updated + Wed Jan 12 16:49:03 2000 Owen Taylor <otaylor@redhat.com> * Huge rename from GScript to Pango. diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8 index 8af0fd78..d7de2720 100644 --- a/ChangeLog.pre-1-8 +++ b/ChangeLog.pre-1-8 @@ -1,3 +1,8 @@ +Thu Jan 13 16:57:22 2000 Owen Taylor <otaylor@redhat.com> + + * examples/viewer.c: reindented. + * README: updated + Wed Jan 12 16:49:03 2000 Owen Taylor <otaylor@redhat.com> * Huge rename from GScript to Pango. @@ -17,6 +17,13 @@ You'll also need a fairly capable implementation of iconv() - for instance the iconv from the GNU C library version 2.1 +Notes +===== + +- There is a bug in some X servers (XF86-3.3.5 + TNT2) for + example that keeps the johab fonts used for the hangul + module from displaying correctly. + License ======= diff --git a/docs/.cvsignore b/docs/.cvsignore index 569dc9d8..e4476fa2 100644 --- a/docs/.cvsignore +++ b/docs/.cvsignore @@ -1,4 +1,6 @@ sgml html -gscript-decl-list.txt -gscript-decl.txt +pango-decl-list.txt +pango-decl.txt +Makefile.in +Makefile diff --git a/examples/.cvsignore b/examples/.cvsignore index 6d968b25..cb3030ba 100644 --- a/examples/.cvsignore +++ b/examples/.cvsignore @@ -1,5 +1,7 @@ -gscript.modules -gscript-viewer +Makefile.in +Makefile +pango.modules +pango-viewer .deps .libs *.lo diff --git a/examples/viewer.c b/examples/viewer.c index 2ed64c78..4404631f 100644 --- a/examples/viewer.c +++ b/examples/viewer.c @@ -233,7 +233,7 @@ break_run (char *text, PangoGlyphUnit *log_widths = g_new (PangoGlyphUnit, item->num_chars); pango_break (text + item->offset, item->length, &item->analysis, - log_attrs); + log_attrs); get_logical_widths (text, item, buf, log_widths); new_width = 0; @@ -415,8 +415,8 @@ runs_x_to_cp (char *text, GList *runs, int x, int *offset) char *p; pango_x_to_cp (text + item->offset, item->length, - &item->analysis, buf, (x - pixels) * 72, - &pos, NULL); + &item->analysis, buf, (x - pixels) * 72, + &pos, NULL); /* Converter the character position to byte offset */ p = text + item->offset; @@ -514,9 +514,9 @@ runs_char_bounds (char *text, GList *runs, int offset, int *x, int *width) /* Find bounds */ pango_cp_to_x (text + item->offset, item->length, - &item->analysis, buf, char_pos, FALSE, &start_x); + &item->analysis, buf, char_pos, FALSE, &start_x); pango_cp_to_x (text + item->offset, item->length, - &item->analysis, buf, char_pos, TRUE, &end_x); + &item->analysis, buf, char_pos, TRUE, &end_x); if (start_x < end_x) { @@ -655,14 +655,14 @@ expose_paragraph (Paragraph *para, GdkDrawable *drawable, /* Convert the item into glyphs */ pango_shape (font, - para->text + item->offset, item->length, - &item->analysis, - buf); + para->text + item->offset, item->length, + &item->analysis, + buf); /* Render the glyphs to the screen */ pango_x_render (GDK_DISPLAY(), GDK_WINDOW_XWINDOW (drawable), - GDK_GC_XGC (gc), buf, x + x_off, - y + line->ascent); + GDK_GC_XGC (gc), buf, x + x_off, + y + line->ascent); /* Advance to next x position */ @@ -828,9 +828,9 @@ main (int argc, char **argv) /* We hard code a font globally for now */ font = pango_x_load_font (GDK_DISPLAY(), - // "-misc-fixed-medium-r-semicondensed--13-*-*-*-c-*-iso10646-1," - "-gnu-unifont-medium-r-normal--16-*-*-*-c-*-iso10646-1," - "-*-*-medium-r-normal--12-*-*-*-*-*-*-*"); + /* "-misc-fixed-medium-r-semicondensed--13-*-*-*-c-*-iso10646-1," */ + "-gnu-unifont-medium-r-normal--16-*-*-*-c-*-iso10646-1," + "-*-*-medium-r-normal--16-*-*-*-*-*-*-*"); /* Create the user interface */ diff --git a/modules/.cvsignore b/modules/.cvsignore new file mode 100644 index 00000000..6e5ca7ed --- /dev/null +++ b/modules/.cvsignore @@ -0,0 +1,6 @@ +Makefile +Makefile.in +.deps +.libs +*.lo +*.la diff --git a/modules/basic/.cvsignore b/modules/basic/.cvsignore index 7b6b3066..6e5ca7ed 100644 --- a/modules/basic/.cvsignore +++ b/modules/basic/.cvsignore @@ -1,4 +1,6 @@ -*.la -*.lo +Makefile +Makefile.in .deps .libs +*.lo +*.la diff --git a/modules/hangul/.cvsignore b/modules/hangul/.cvsignore new file mode 100644 index 00000000..6e5ca7ed --- /dev/null +++ b/modules/hangul/.cvsignore @@ -0,0 +1,6 @@ +Makefile +Makefile.in +.deps +.libs +*.lo +*.la diff --git a/modules/tamil/.cvsignore b/modules/tamil/.cvsignore new file mode 100644 index 00000000..6e5ca7ed --- /dev/null +++ b/modules/tamil/.cvsignore @@ -0,0 +1,6 @@ +Makefile +Makefile.in +.deps +.libs +*.lo +*.la diff --git a/pango/.cvsignore b/pango/.cvsignore index 417f2d5d..a5b120c8 100644 --- a/pango/.cvsignore +++ b/pango/.cvsignore @@ -1,5 +1,7 @@ +Makefile.in +Makefile +pango-querymodules *.lo *.la .deps .libs -gscript-querymodules diff --git a/tools/.cvsignore b/tools/.cvsignore new file mode 100644 index 00000000..c038ed78 --- /dev/null +++ b/tools/.cvsignore @@ -0,0 +1,2 @@ +Makefile +Makefile.in
\ No newline at end of file |