diff options
author | Tor Lillqvist <tml@iki.fi> | 2002-09-22 22:30:32 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2002-09-22 22:30:32 +0000 |
commit | cd8f626345fdf182a927e36eb1af613590a9bdce (patch) | |
tree | 72e3a89f55fa2a6842bfabcba4c5b8cbff96d1cf /modules | |
parent | c418148dcb0964ac602c7f6104d24e51df07d813 (diff) | |
download | pango-cd8f626345fdf182a927e36eb1af613590a9bdce.tar.gz |
Minor spacing fixes, comment the Unicode ranges covered.
2002-09-23 Tor Lillqvist <tml@iki.fi>
* modules/basic/basic-win32.c: Minor spacing fixes, comment the
Unicode ranges covered.
* modules/basic/makefile.mingw.in: Remove. Not maintained.
* modules/basic/Makefile.am: Remove from here, too.
* pango/makefile.msc
* pango/module-defs-win32.c.win32: Change according to change
below so that build also with the manually written makefile for
MSVC, which always uses included modules, still works.
* pango-zip.sh.in: Distribute specifically pango.aliases and
pango.modules, not the whole etc/pango which might contain editor
backup files.
Mon Sep 16 12:03:54 2002 Arnaud Charlet <charlet@gnat.com>
* modules/basic/basic-win32.c: Check for correct macro, use
correct module entry name, so that --with-included-modules works
with autoconfiscated build for Windows. (#93372)
Diffstat (limited to 'modules')
-rw-r--r-- | modules/basic/Makefile.am | 4 | ||||
-rw-r--r-- | modules/basic/basic-win32.c | 74 | ||||
-rw-r--r-- | modules/basic/makefile.mingw.in | 31 |
3 files changed, 64 insertions, 45 deletions
diff --git a/modules/basic/Makefile.am b/modules/basic/Makefile.am index d10fc562..e03a8f0f 100644 --- a/modules/basic/Makefile.am +++ b/modules/basic/Makefile.am @@ -118,9 +118,7 @@ libpango_basic_win32_la_SOURCES = basic-win32.c EXTRA_DIST = \ basic-common.h \ tables-big.i \ - tables-small.i \ - makefile.mingw \ - makefile.mingw.in + tables-small.i included-modules: $(noinst_LTLIBRARIES) diff --git a/modules/basic/basic-win32.c b/modules/basic/basic-win32.c index b5c61f6a..b278717b 100644 --- a/modules/basic/basic-win32.c +++ b/modules/basic/basic-win32.c @@ -30,19 +30,71 @@ #define SCRIPT_ENGINE_NAME "BasicScriptEngineWin32" static PangoEngineRange basic_ranges[] = { - /* Language characters */ - { 0x0000, 0x02af, "*" }, + /* Basic Latin, Latin-1 Supplement, Latin Extended-A, Latin Extended-B, + * IPA Extensions + */ + { 0x0020, 0x02af, "*" }, + + /* Spacing Modifier Letters */ { 0x02b0, 0x02ff, "" }, + + /* Not covered: Combining Diacritical Marks */ + + /* Greek, Cyrillic, Armenian */ { 0x0380, 0x058f, "*" }, - { 0x0591, 0x05f4, "*" }, /* Hebrew */ - { 0x060c, 0x06f9, "" }, /* Arabic */ - { 0x0e01, 0x0e5b, "" }, /* Thai */ - { 0x10a0, 0x10ff, "*" }, /* Georgian */ - { 0x1200, 0x16ff, "*" }, /* Ethiopic,Cherokee,Canadian,Ogham,Runic */ + + /* Hebrew */ + { 0x0591, 0x05f4, "*" }, + + /* Arabic */ + { 0x060c, 0x06f9, "" }, + + /* Not covered: Syriac, Thaana, Devanagari, Bengali, Gurmukhi, Gujarati, + * Oriya, Tamil, Telugu, Kannada, Malayalam, Sinhala + */ + + /* Thai */ + { 0x0e01, 0x0e5b, "" }, + + /* Not covered: Lao, Tibetan, Myanmar, Georgian, Hangul Jamo, Ethiopic, + * Cherokee, Unified Canadian Aboriginal Syllabics, Ogham, Runic, + * Khmer, Mongolian + */ + + /* Latin Extended Additional, Greek Extended */ { 0x1e00, 0x1fff, "*" }, + + /* General Punctuation, Superscripts and Subscripts, Currency Symbols, + * Combining Marks for Symbols, Letterlike Symbols, Number Forms, + * Arrows, Mathematical Operators, Miscellaneous Technical, + * Control Pictures, Optical Character Recognition, Enclosed Alphanumerics, + * Box Drawing, Block Elements, Geometric Shapes, Miscellaneous Symbols, + * Dingbats, Braille Patterns, CJK Radicals Supplement, Kangxi Radicals, + * Ideographic Description Characters, CJK Symbols and Punctuation, + * Hiragana, Katakana, Bopomofo, Hangul Compatibility Jamo, Kanbun, + * Bopomofo Extended, Enclosed CJK Letters and Months, CJK Compatibility, + * CJK Unified Ideographs Extension A, CJK Unified Ideographs + */ { 0x2000, 0x9fff, "*" }, + + /* Not covered: Yi Syllables, Yi Radicals */ + + /* Hangul Syllables */ { 0xac00, 0xd7a3, "kr" }, + + /* Not covered: Private Use */ + + /* CJK Compatibility Ideographs (partly) */ { 0xf900, 0xfa0b, "kr" }, + + /* Not covered: CJK Compatibility Ideographs (partly), + * Alphabetic Presentation Forms, Arabic Presentation Forms-A, + * Combining Half Marks, CJK Compatibility Forms, + * Small Form Variants, Arabic Presentation Forms-B, + * Specials + */ + + /* Halfwidth and Fullwidth Forms (partly) */ { 0xff00, 0xffe3, "*" } }; @@ -65,7 +117,7 @@ static PangoGlyph find_char (PangoFont *font, gunichar wc) { - return pango_win32_font_get_glyph_index (font, wc); + return pango_win32_font_get_glyph_index (font, wc); } static void @@ -208,7 +260,7 @@ basic_engine_shape (PangoFont *font, } static PangoCoverage * -basic_engine_get_coverage (PangoFont *font, +basic_engine_get_coverage (PangoFont *font, PangoLanguage *lang) { return pango_font_get_coverage (font, lang); @@ -233,8 +285,8 @@ basic_engine_win32_new (void) /* The following three functions provide the public module API for * Pango */ -#ifdef MODULE_PREFIX -#define MODULE_ENTRY(func) _pango_basic_##func +#ifdef WIN32_MODULE_PREFIX +#define MODULE_ENTRY(func) _pango_basic_win32_##func #else #define MODULE_ENTRY(func) func #endif diff --git a/modules/basic/makefile.mingw.in b/modules/basic/makefile.mingw.in deleted file mode 100644 index 64cb1a51..00000000 --- a/modules/basic/makefile.mingw.in +++ /dev/null @@ -1,31 +0,0 @@ -TOP = ../../.. - -include $(TOP)/build/win32/make.mingw - -# Possibly override Pango version from build/win32/module.defs -PANGO_VER = @VERSION@ - -OPTIMIZE = -g -Wall - -INCLUDES = -I ../../pango -I ../.. -DEFINES = -DEPCFLAGS = $(GLIB_CFLAGS) $(FRIBIDI_CFLAGS) $(FREETYPE2_CFLAGS) - -all : \ - ../../config.h \ - pango-basic-win32.dll \ - pango-basic-ft2.dll - -../../config.h : ../../config.h.win32 - cp $< $@ - -pango-basic-win32.dll : basic-win32.o - $(GLIB)/build-dll pango-basic-win32 - ../module.def $< -L ../../pango -lpango-$(PANGO_VER) -lpangowin32-$(PANGO_VER) $(GLIB_LIBS) $(FRIBIDI_LIBS) - -pango-basic-ft2.dll : basic-ft2.o - $(GLIB)/build-dll pango-basic-ft2 - ../module.def $< -L ../../pango -lpango-$(PANGO_VER) -lpangoft2-$(PANGO_VER) $(GLIB_LIBS) $(FRIBIDI_LIBS) $(FREETYPE2_LIBS) - -# Hack to get an updated makefile.mingw automatically after updating -# makefile.mingw.in. Only for developer use. -makefile.mingw: makefile.mingw.in - sed -e 's,@VER[S]ION@,@VERSION@,' <$< >$@ |