diff options
author | Tor Lillqvist <tml@iki.fi> | 2000-10-03 19:04:34 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2000-10-03 19:04:34 +0000 |
commit | 9b359e9b7c20a134363f2383902519d73d130e68 (patch) | |
tree | bdf8e74a67b9d5783bf2b263662d518d557a7f21 /pango/pango-coverage.c | |
parent | 6ed8c4f1d4f27507919db74990fa9bdd3681ad7e (diff) | |
download | pango-9b359e9b7c20a134363f2383902519d73d130e68.tar.gz |
pango/pango.def Add new entry points.
2000-10-03 Tor Lillqvist <tml@iki.fi>
* pango/pango.def
* pango/pangoft2.def: Add new entry points.
* pango/pango-coverage.c (pango_coverage_set): Remove unnecessary
loop calling memset() with same parameters 64 times ;-)
* pango/makefile.mingw.in (PANGO_OBJS): Add pango-tabs.o.
Some small changes that have been laying around on my disk. The
Win32 and FT2 backends aren't "production quality" yet. For
speedup, need to cache at least the coverage info.
* pango/pangoft2.c (pango_ft2_get_coverage): New function.
* modules/basic/basic-win32.c: Use "BasicScriptEngineLangWin32" to
be unique.
* modules/basic/basic-ft2.c: Add comments explaining what Unicode
ranges the table entries covers. Use "BasicScriptEngineLangFT2" to
be unique.
(basic_engine_get_coverage): Test calling
pango_ft2_get_coverage().
(basic_engine_ft2_new): Set corect engine type. Not that this
apparently is used for anything, the X11 basic shaper module also
sets its type as TYPE_LANG.
* examples/viewer-ft2.c (split_paragraphs): Just end the string
upon encountering an invalid character. Don't return.
Diffstat (limited to 'pango/pango-coverage.c')
-rw-r--r-- | pango/pango-coverage.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pango/pango-coverage.c b/pango/pango-coverage.c index 6a031fb3..c0c10145 100644 --- a/pango/pango-coverage.c +++ b/pango/pango-coverage.c @@ -237,8 +237,7 @@ void pango_coverage_set (PangoCoverage *coverage, (coverage->blocks[block_index].level << 4) | (coverage->blocks[block_index].level << 6); - for (i=0; i<64; i++) - memset (data, byte, 64); + memset (data, byte, 64); } i = index % 256; |