| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tue Sep 23 18:03:57 2003 Owen Taylor <otaylor@redhat.com>
* pango/pango-engines.[ch] pango/pango-engines-private.h:
Modules now declare a list of scripts that they cover instead of a
list of code point ranges. Also, there is now a ->covers() virtual
function that allows a module to decide live whether the font
covers a particular codepoint; remove old get_coverage() method.
* pango/pango-fontset.[ch]: Add a foreach() function to
iterate over all the fonts in a fontset (with a true
return stopping iteration).
* pango/pango-context.c: Complete rewrite using script-run
information to improve language tags. Switch to an approach
where we handle one run at a time rather than computing
information for each character individually then later
breaking the result into runs.
* pango/pango-fontset.[ch]: Switch over to using
pango-impl-utils.h.
* modules/basic/basic-x.c pango/pangox-fontmap.c: Adapt to
the change from get_coverage => covers.
* pango/pango-modules.h pango/modules.c: Switch PangoMap
over to being based on script rather than being based
on codepoint. Remove the no longer needed pango_map_get_entry().
* pango/modules.c: Handle new script-based modules.
* pango/pango-fc-fontmap.c pango/pango-win32-fontmap.c
pango/pang-fontmap.[ch]: Add a shape_engine_type field
to PangoFontmapClass, pango_font_map_get_shape_engine_type();
this allows generic code to find a shaper for a particular
fontmap.
* pango/pango-script.[ch]: Add pango_script_get_sample_language(),
pango_language_includes_script(); functions for determining
the relationship between scripts and language.
* tools/gen-script-for-lang.c: Modify to spit out a
useful table.
* pango/pango-script-lang-table.h: Version of table
generated from current fontconfig data.
* pango/pangox.c: Remove complicated code to compute
coverages; no longer useful now that we just have
the basic shaper as a legacy thing.
* modules/*/*.c: Adapt to identifying shape engines
by language range.
* modules/thai/thai-fc.c modules/thai/thai-shaper.[ch]:
Remove now unused "has_glyph" function and XTIS support.
* modules/thai/thai-fc.c: Handle non-Thai characters
as well, since the Thai module now gets spaces,
punctuation, and so forth.
|
|
|
|
|
|
|
| |
Mon Sep 15 17:16:59 2003 Owen Taylor <otaylor@redhat.com>
* pango/opentype/fterrcompat.h: Fix gcc-3.3 versions of
macros to have the right return value.
|
|
|
|
|
|
|
| |
Tue Sep 9 12:21:02 2003 Owen Taylor <otaylor@redhat.com>
* pango/pangofc-fontmap.c (pango_fc_font_description_from_pattern):
Fix a g_assert() with a side-effect. (Maybe #121742?)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mon Sep 15 15:48:25 2003 Owen Taylor <otaylor@redhat.com>
* examples/Makefile.am examples/argcontext.c examples/argcontext.h:
Borrow argument parsing code from GDK.
* examples/pangoft2topgm.c: Use argcontext.[ch]. Add options
--header to display options in a header in the image, --text
to pass the text on the command line, --width to set a
wrap width. Add autoconversion to non-PGM output formats
via 'convert' for --output="foo.png" etc.
|
|
|
|
|
|
|
|
| |
2003-09-12 Matthias Clasen <maclas@gmx.de>
* pango/pango-context.c (pango_context_set_font_map)
(pango_context_new): Document these funcions as backends-only, and
explain how to obtain initialized contexts. (#121881, Martin Pool)
|
|
|
|
|
|
|
| |
Tue Sep 9 12:17:07 2003 Owen Taylor <otaylor@redhat.com>
* tools/Makefile.am (EXTRA_DIST): Remove reference
to now-gone make-table.sh (#121393, Josh Beam)
|
|
|
|
|
|
|
|
|
| |
2003-09-02 Noah Levitt <nlevitt@columbia.edu>
* tests/.cvsignore:
* tests/Makefile.am:
* tests/pangorc: Fix tests so that can be run before "make install"
has been. (#119831)
|
|
|
|
|
|
|
|
|
| |
Mon Aug 25 10:17:21 2003 Owen Taylor <otaylor@redhat.com>
* pango/opentype/ftxgsub.c (Lookup_ChainContextSubst3)
* pango/opentype/ftxgpos.c (Lookup_ChainContextPos3):
Fix problems where the coverage wasn't being checked
for the first input glyph. (#118639, Kailash C. Chowksey)
|
|
|
|
|
|
|
| |
Mon Aug 25 10:11:59 2003 Owen Taylor <otaylor@redhat.com>
* pango/Makefile.am (EXTRA_DIST): add testfonts.c to
EXTRA_DIST until bug #104151 is sorted out.
|
|
|
|
|
|
|
| |
Sun Aug 24 12:35:25 2003 Owen Taylor <otaylor@redhat.com>
* pango/querymodules.c: Remove a stray ; (#120528,
Mehran Mehr)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fri Aug 22 18:09:52 2003 Owen Taylor <otaylor@redhat.com>
* pango/opentype/fterrcompat.h: Add some macro definitions
for gcc-3.3 that suppress the bogus strict-aliasing
warnings.
* pango/pango-utils.c (read_config_file): Use
g_hash_table_new_full() to simplify code and fix
gcc-3.3 warnings.
* pango/pangox-fontmap.c (pango_x_real_get_coverage_win)
* pango/querymodules.c (query_module): Suppress gcc-3.3
warnings.
* pango/modules.c (pango_find_map): Fix warning from
missing declaration of pango_module_get_type().
* pango/pango-context.c/pango-engine.c: Fix name confusion
for pango_get_fallback_shaper().
|
|
|
|
|
|
|
| |
Thu Aug 21 00:29:46 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* pango/pangofc-fontmap.c (pango_fc_face_get_type): Remove
ABSTRACT from g_type_register_static() call
|
|
|
|
|
|
| |
2003-08-20 Noah Levitt <nlevitt@columbia.edu>
* configure.in: Bump version to 1.3.0.
|
|
|
|
|
|
|
| |
Fri Aug 15 16:34:14 2003 Owen Taylor <otaylor@redhat.com>
* configure.in: get the cflags for gmodule-2.0 as
well as gthread-2.0. (#119953, Benedikt Spranger)
|
|
|
|
|
|
|
|
|
| |
2003-08-14 Noah Levitt <nlevitt@columbia.edu>
* docs/tmpl/main.sgml:
* pango/break.c:
* pango/pango-break.h: Add backspace_deletes_character to
PangoLogAttr. (#114483)
|
|
|
|
|
|
|
| |
Thu Aug 14 10:41:21 2003 Owen Taylor <otaylor@redhat.com>
* pango/modules.c (init_modules): Call g_type_init()
(#119830, Noah Levitt)
|
| |
|
|
|
|
|
| |
* acinclude.m4: Copy newer versions of JH_CHECK_XML_CATALOG and JH_PATH_XML_CATALOG from
gtk-doc to enable configuring without xmlcatalog in PATH. (#119115)
|
|
|
|
|
|
|
|
| |
Fri Aug 8 12:59:42 2003 Owen Taylor <otaylor@redhat.com>
* pango/pangoft2-fontmap.c (pango_ft2_font_map_default_substitute):
Move DPI substitution before FcDefaultSubstitute so
it actually works.
|
|
|
|
|
|
|
| |
Fri Aug 8 11:45:15 2003 Owen Taylor <otaylor@redhat.com>
* examples/pangoft2topgm.c: Replace --family/--scale
options with a single --font
|
|
|
|
|
|
|
|
| |
Fri Aug 8 11:33:24 2003 Owen Taylor <otaylor@redhat.com>
* examples/pangoft2topgm.c: Add option to run 'display'
on the output as well as/instead of specifying output
file name.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fri Aug 8 10:33:31 2003 Owen Taylor <otaylor@redhat.com>
* pango/pangoft2.h: Deprecate pango_ft2_get_context(),
pango_ft2_font_map_for_display(), pango_ft2_shutdown_display();
the explicit
* pango/pangoft2-fontmap.c (pango_ft2_shutdown_display):
Add docs about deprecations.
* examples/Makefile.am (INCLUDES): Add -DPANGO_DISABLE_DEPRECATED
* examples/pangoft2topgm.c: Fix deprecated usages; add
--dpi and --markup options. Improve error handling.
|
|
|
|
|
|
|
|
|
| |
Fri Aug 8 10:03:03 2003 Owen Taylor <otaylor@redhat.com>
* examples/pangoft2topgm.c: Get rid of a bunch of
leftovers from the conversion from viewer; add
--waterfall to create a waterfall output at different
sizes, and --margin to set the margin.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-08-05 Tor Lillqvist <tml@iki.fi>
* modules/basic/basic-win32.c (text_is_simple): New function. Uses
the Uniscribe ScriptIsSimple() function to check if Uniscribe
shaping is needed for a piece of text.
(basic_engine_shape): Use it, to avoid calling Uniscribe to shape
non-complex text. Produces dramatic speedup according to tests by
Hans Breuer.
(init_uniscribe): No need for the PANGO_WIN32_NO_UNISCRIBE
environment variable any longer.
|
|
|
|
|
|
|
| |
Mon Aug 4 01:12:35 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* tools/gen-script-for-lang.c (get_script_name): Fix C99 variable
declaration.
|
|
|
|
|
|
|
|
|
| |
Sun Aug 3 18:37:46 2003 Owen Taylor <otaylor@redhat.com>
* pango/pangofc-font.c (get_face_metrics): Fix sign
of metrics->descent.
* pango/pango-engine-private.h: fix include (Noah Levitt)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sat Aug 2 23:19:16 2003 Owen Taylor <otaylor@redhat.com>
* pango/pango-engine.[ch] modules/*/*-{fc,win32,x}.c
pango/modules.c pango/break.c pango/pango-context.c
pango/pango-layout.c pango/pango-modules.h
pango/querymodules.c pango/shape.c: Make
PangoEngine{,Lang,Shape} GObjects, and use a
GTypeModule-based module-loading system closely based
on the one used for GtkIMContext and GtkThemeEngine.
* pango/pango-impl-utils.h: OK, I'm tired of typing
in get_type() functions.
* pango/pango-script.[ch] pango/pango-script-table.h
tests/testscript.c tools/gen-script-table.pl: Add port
of script-range code from ICU in preparation for future
use. (#91542)
* tools/gen-script-for-lang.c: Utility program to determine
the script for each fontconfig .orth file.
* docs/tmpl/{scripts.sgml,pango-engine-lang.sgml,
pango-engine-shape.sgml} docs/pango-sections.txt docs/pango-docs.sgml:
Redo to go along with the above changes.
* configure.in: chmod +x tests/runtests.sh
|
|
|
|
|
|
|
| |
2003-08-03 Noah Levitt <nlevitt@columbia.edu>
* pango/Makefile.am (libpangoxft_1_0_la_DEPENDENCIES): Really make
pangoxft depend on pangoft2. (#119024)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sat Aug 2 14:33:28 2003 Owen Taylor <otaylor@redhat.com>
* pango/Makefile.am (libpangoxft_1_0_la_LIBADD): Make
pangoxft depend on pangoft2.
* pango/pangofc-fontmap.[ch]: Make pangofc-fontmap.cI
into a real base class.
* pango/pangofc-font.[ch]: Move some of the pangoxft/
pangoft2 implementation here.
* pango/pangoft2.c pango/pangoft2-fontmap.c
pango/pangoft2-private.h pango/pangoxft-font.c
pango/pangoxft2-fontmap.c pango/pangoxft-private.h: Adapt
to the new scheme
* modules/*/Makefile.am Modules/*/*/*-fc.c: Don't build
separate FT2 and Xft shapers, just build one Fc shaper.
* docs/pango-sections.txt docs/pango-docs.sgml
docs/tmpl/pangofc-font{,map}.sgml: Basic docs for
the new stuff.
* configure.in: Up pango_module_version to 1.4.0.
|
|
|
|
|
|
|
| |
Sat Aug 2 14:18:20 2003 Owen Taylor <otaylor@redhat.com>
* modules/hangul/Makefile.am (EXTRA_DIST): Remove some
leftovers.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sat Aug 2 14:10:31 2003 Owen Taylor <otaylor@redhat.com>
* pango/Makefile.am pango/pango-intset.[ch] pango/pango-indic.[ch]:
Remove.
* pango/pangox.c (pango_x_apply_ligatures): Make a noop,
remove associated code.
* pango/pangox-fontmap.c pango/pangox.[ch]: Deprecate everything.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sat Aug 2 13:17:45 2003 Owen Taylor <otaylor@redhat.com>
* configure.in
modules/arabic/{Makefile.am arconv.[ch],langboxfont.[ch],
mulefont.[ch],naqshfont.[ch],arabic-x.c}
modules/hangul/{Makefile.am,hangul-x.c,tables-johabfont.i,
tables-ksc5601.i}
modules/hebrew/{Makefile.am,hebrew-x.c}
modules/indic/{Makefile.am,*-x.c}
modules/tamil
modules/thai/{Makefile.am,thai-x.c}:
Remove old X font shapers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sat Aug 2 16:40:19 2003 Soeren Sandmann <sandmann@daimi.au.dk>
Add API to kern a complete glyph string. Remove API to kern
individual glyph pairs.
* modules/basic/basic-fc.c (basic_engine_shape): use
pango_fc_font_kern_glyphs() instead of pango_fc_font_get_kerning().
* pango/pangoft2.c (pango_ft2_font_real_kern_glyphs): add this
function, remove pango_ft2_font_real_get_kerning().
* pango/pangoxft-font.c (pango_xft_font_real_kern_glyphs): add
this function, remove pango_xft_font_real_get_kerning().
* pango/pangofc-font.c (pango_fc_font_kern_glyphs): new
function. Remove pango_fc_font_get_kerning().
* pango/pangofc-font.h: remove pango_fc_font_get_kerning(), add
pango_fc_font_kern_glyphs().
|
|
|
|
|
|
|
|
|
| |
Tue Jul 29 09:58:13 2003 Owen Taylor <otaylor@redhat.com>
* pango/opentype/ftxgdef.c (Check_Property): Rewrite
handling of IGNORE_SPECIAL_MARKS to be properly
"ignore marks of attachment type different than
specified. (#118456, Kailash C. Chowksey)
|
|
|
|
|
|
|
|
|
|
| |
Sat Jul 26 09:41:22 2003 Owen Taylor <otaylor@redhat.com>
* pango/opentype/ftxgsub.c (Lookup_LigatureSubst):
Revert back out the FreeType patch preventing
ligatures of not-originally adjacent glyphs;
it doesn't work for all scripts. (#118472,
Kailash C. Chowksey)
|
|
|
|
|
|
|
|
|
|
|
| |
Sat Jul 26 22:30:59 2003 Owen Taylor <otaylor@redhat.com>
* pango/opentype/ftxgsub.c (Lookup_ChainContextSubst{1,2,3}):
Check for lookahead glyphs in the right place. (Patch
from #116860)
* pango/opentype/ftxgpos.c (Lookup_ChainContextPos{1,2,3}):
Same fix here.
|
|
|
|
|
|
|
|
|
| |
Sat Jul 26 22:12:46 2003 Owen Taylor <otaylor@redhat.com>
* pango/opentype/ftxgsub.c (Do_String_Lookup,
TT_GSUB_Apply_String): Fix return value to only
contain TTO_Err_Not_Covered if *no* lookups
matched. Fix memory leaks on error in Apply_String().
|
|
|
|
|
|
|
|
| |
Sat Jul 26 22:09:44 2003 Owen Taylor <otaylor@redhat.com>
* modules/indic/indic-ot.c (indic_ot_reorder):
Fix problem where NULL mpreFixups wasn't getting
returned properly.
|
|
|
|
|
|
|
|
| |
Sat Jul 26 21:06:26 2003 Owen Taylor <otaylor@redhat.com>
* pango/opentype/ftxgsub.c (Load_EmptyOrClassDefinition):
Fix confusion between boolean and FT_Error return.
(GSUB equivalent of fix for #108358)
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sat Jul 26 10:52:20 2003 Owen Taylor <otaylor@redhat.com>
* pango/opentype/ftxgpos.c (Lookup_ContextPos2):
* pango/opentype/ftxgsub.c (Lookup_ContextSubst2): Move
allocation afer initial checks, fixing memory leak.
* pango/opentype/ftxgsub.c (Lookup_ChainContextSubst2):
Fix some more error return memory leaks that weren't
fixed in the Qt changes.
|
|
|
|
|
|
|
|
| |
Sat Jul 26 10:43:20 2003 Owen Taylor <otaylor@redhat.com>
* pango/opentype/ftxgsub.c pango/opentype/ftxgpos.c:
Fix various memory leaks from error returns that should
have been jumps to cleanup blocks. (From Qt, Lars Knoll)
|
|
|
|
|
|
|
|
| |
Sat Jul 26 10:30:24 2003 Owen Taylor <otaylor@redhat.com>
* pango/opentype/ftxgpos.c: Fix additional places where
TTO_Err_Not_Covered wasn't considered a successful return
from Get_Class. (From Qt, Lars Knoll)
|
|
|
|
|
|
|
|
|
|
| |
Sat Jul 26 09:41:22 2003 Owen Taylor <otaylor@redhat.com>
* pango/opentype/ftxgsub.c (Lookup_LigatureSubst):
If applying a ligature lookup makes adjacent two glyphs
that were not originally adjacent, avoid making
subsequent ligatures between those glyphs.
(From FreeType, Werner Lemberg, 2001-08-22, 2001-08-23)
|
|
|
|
|
|
|
|
|
| |
Sat Jul 26 09:16:57 2003 Owen Taylor <otaylor@redhat.com>
* pango/opentype/ftxgpos.c pango/opentype/ftxopen.c:
Fix some FreeType1 variable declarations that snuck
in from the last commits (Christophe Fergeau,
118363)
|
|
|
|
|
|
|
|
|
| |
Fri Jul 25 23:38:07 2003 Owen Taylor <otaylor@redhat.com>
* pango/opentype/ftxgpos.c pango/opentype/ftxgsub.c:
OpenType-1.4 update: backtrack information is stored with the
item closest to the input first (From FreeType,
Werner Lemberg, 2002-09-26)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fri Jul 25 23:07:06 2003 Owen Taylor <otaylor@redhat.com>
Update of GPOS and GSUB support to OpenType 1.3
(From FreeType, Werner Lemberg, 2001-08-08)
* pango/opentype/ftxopen.h: Add RIGHT_TO_LEFT LookupFlag
* pango/opentype/ftxgpos.c (GPOS_Instance): Add 'first'
member to mark the beginning of a chain of cursive connections.
* pango/opentype/ftxgpos.c (Do_String_Lookup): If the
RIGHT_TO_FLAG flag is set, shift cursive chain up so
last glyph is on the baseline.
|
|
|
|
|
|
|
|
|
|
| |
Fri Jul 25 22:59:13 2003 Owen Taylor <otaylor@redhat.com>
* pango/opentype/ftx{gpos,gsub}.h pango/opentype/ftxgdef.c:
Add GPOS_LOOKUP_EXTENSION, GSUB_LOOKUP_EXTENSION, which
allow lookup information to be stored at 32-bit offets
via a double indirection. (From FreeType, Werner Lemberg,
2001-08-08)
|
|
|
|
|
|
|
|
|
|
|
| |
Fri Jul 25 22:25:48 2003 Owen Taylor <otaylor@redhat.com>
* pango/opentype/ftxgsub.c (Lookup_ContextSubst2,
Lookup_ChainContextSubst2): Fix a couple of
places where TTO_Err_Not_Covered wasn't considered
a successful return from Get_Class -- it means
use class index 0. (From FreeType, Werner Lemberg,
2001-08-06)
|
|
|
|
|
|
|
|
|
| |
Fri Jul 25 12:07:21 2003 Owen Taylor <otaylor@redhat.com>
* modules/indic/mprefixups.[ch] modules/indic/indic-ot.[ch]
modules/indic/indic-fc.c: Port pre-base-mantra
fixup code from ICU, as needed for Tamil and Malayalam.
(Based on patch from Sivaraj Doddannan, #111166)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fri Jul 25 11:06:14 2003 Owen Taylor <otaylor@redhat.com>
* modules/indic/indic-ot.[ch]: Port of some fixes from
ICU.
"Fixed problems w/ backing off the front of a syllable if
all consonants have post-base form... Fix tag list for base
consonant so that it doesn't have 'pstf'""
Based on patch from Taneem Ahmed (#118297)
|