| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Colors that were defined to different values in Pango than they were in
the CSS specification have been updated to conform to the CSS specs.
See http://dev.w3.org/csswg/css3-color/#svg-color for the color values.
|
|
|
|
|
| |
Color names taken from
http://dev.w3.org/csswg/css3-color/#svg-color
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-06 Behdad Esfahbod <behdad@gnome.org>
Bug 328206 – Update/remove some old files
* tools/Makefile.am:
* tools/add-copyright:
* tools/compress-table.pl:
* tools/maps/README:
* tools/maps/tis-620:
Remove some old files.
svn path=/trunk/; revision=2790
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-06 Behdad Esfahbod <behdad@gnome.org>
* tools/Makefile.am:
* tools/gen-script-for-lang.c:
* tools/gen-script-for-lang-new.c:
Remove the old gen-script-for-lang tool, rename the new one to it.
svn path=/trunk/; revision=2789
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-21 Johan Dahlin <jdahlin@async.com.br>
* *.[ch]: Include "config.h" instead of <config.h>
Command used:
find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
Rubberstamped by Behdad
svn path=/trunk/; revision=2657
|
|
|
|
|
|
|
|
|
|
| |
2007-11-05 Behdad Esfahbod <behdad@gnome.org>
* tools/gen-script-for-lang-new.c (scripts_for_lang), (main):
Update to new propsed language enumeration API for fontconfig.
svn path=/trunk/; revision=2492
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-28 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-script-lang-table.h:
* tools/gen-script-for-lang-new.c:
Sort scripts based on frequency.
* tools/Makefile.am: Don't build anything by default.
svn path=/trunk/; revision=2485
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-26 Behdad Esfahbod <behdad@gnome.org>
* tools/Makefile.am:
* tools/gen-script-for-lang-new.c:
Functional dup of gen-script-for-lang that uses FcGetLangs() and
FcCharSetForLang() instead of parsing .orth files.
svn path=/trunk/; revision=2482
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-08-20 Behdad Esfahbod <behdad@gnome.org>
Bug 348348 – Add a way to get the script name of a gunichar
* configure.in: Require glib 2.14, for GUnicodeScript stuff.
* docs/tmpl/scripts.sgml: Document that #PangoScript is
interchangeable with GUnicodeScript.
* pango/pango-script.c (pango_script_for_unichar): Use
g_unichar_get_script(), and document it.
* tools/Makefile.am:
* tools/gen-script-table.pl:
* pango/Makefile.am:
* pango/pango-script-table.h:
Remove pango-script-table.h and its generator.
* pango/pango-gravity.c (get_script_properties):
* pango/pango-language.c (pango_script_get_sample_language):
* pango/pango-ot-tag.c (pango_ot_tag_from_script):
Protect against unexpected script values.
svn path=/trunk/; revision=2406
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-05-09 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-script-lang-table.h: Update from latest fontconfig
sources.
* tools/gen-script-for-lang.c (scripts_for_line): Make it handle
PANGO_SCRIPT_UNKNOWN.
svn path=/trunk/; revision=2271
|
|
|
|
|
|
|
|
|
| |
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
*.c, *.h: Removed spaces followed b tabs.
svn path=/trunk/; revision=2166
|
|
|
|
| |
svn path=/trunk/; revision=2137
|
|
|
|
|
|
|
|
|
|
|
| |
2006-09-18 Behdad Esfahbod <behdad@gnome.org>
* tools/gen-script-table.pl:
* pango/pango-script-table.h:
* pango/pango-script.c (pango_script_for_unichar): Minor
simplification.
* tests/testscript.c (test_script_lookup): Update to pass.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-07-24 Behdad Esfahbod <behdad@gnome.org>
* pango/mini-fribidi/fribidi_tab_char_type_2.i: Update to UCD 5.0.0.
* pango/mini-fribidi/README: Note the about update.
* pango/pango-script.h: Add new values for PangoScript.
* pango/pango-script.c (pango_script_for_unichar_bsearch): Default
to PANGO_SCRIPT_UNKNOWN.
* pango/pango-script.c (pango_script_get_sample_language): Add empty
entries for new script values.
* tools/gen-script-table.pl: Default to PANGO_SCRIPT_UNKNOWN as is
now the default value of Scripts.txt in UCD 5.0.0.
* pango/pango-script-table.h: Regenerated against UCD 5.0.0.
* docs/tmpl/scripts.sgml: Document new script types.
* tools/gen-script-for-lang.c (scripts_for_line): Ignore data at the
end of lines as many .orth files in fontconfig now list the character
name there.
* pango/pango-script-lang-table.h: Regenerate against newer
fontconfig 2.3.9x.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
2006-01-25 Behdad Esfahbod <behdad@gnome.org>
* configure.in: If major.minor of required and available glib versions
are the same, add -DG_DISABLE_DEPRECATED to GLIB_CFLAGS. (bug #328617)
* */Makefile.am: Remove hardcoded -DG_DISABLE_DEPRECATED.
|
|
|
|
|
|
|
| |
2006-01-14 Behdad Esfahbod <behdad@gnome.org>
* */*.c, */*/*.c: Make sure #include <config.h> is the first include
in the file. (bug #158870, based on patch by Luis Menina)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-11-14 Behdad Esfahbod <behdad@gnome.org>
Updates from #320666:
* pango/Makefile.am: Remove pango-easy-scripts-table.h.
* pango/pango-easy-scripts-table.h: Removed. The "easy" table goes
into pango-scripts-table.h too.
* pango/pango-script-table.h: Include "easy" table.
* pango/pango-script.c: Change gunichar->script last_index caching
mechanism. The caching is simply done by making int mid in the
bsearch static.
* tools/Makefile.am: Remove gen-easy-scripts-table.c.
* tools/gen-easy-scripts-table.c: Removed. The "easy" table is
generated in gen-scripts-table.pl too.
* tools/gen-script-table.h: Generate "easy" table.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-11-07 Federico Mena Quintero <federico@ximian.com>
Fixes bug #320666:
Instead of doing a bsearch() for every gunichar to map it to a
PangoScript, use a precomputed table for the first 8192 code
points. Also, remember the last script that we computed on each
invocation; this will also help CJK and the other scripts above
U+2000.
This table also holds information on whether the characters in it
are paired characters. We can use this to avoid doing the
expensive get_pair_index() call most of the time.
Many thanks to Matthias Clasen for his suggestions for this patch.
* tools/gen-easy-scripts-table.c: New program to generate
pango_easy_scripts_table.
* tools/Makefile.am: Build gen-easy-scripts-table.
* pango/pango-easy-scripts-table.h: New file with a mapping of the
first 8192 Unicode characters to their corresponding scripts. The
table also says whether each character has a paired char or not.
* pango/Makefile.am (libpango_1_0_la_SOURCES): Add pango-easy-scripts-table.h.
* pango/pango-script-table.h: Remove everything below U+2000, and
add a note to that effect.
* pango/pango-script.c (pango_script_for_unichar_with_last_index):
New function. This is the old pango_script_for_unichar(), but it
lets the caller keep around the computed index in
pango_script_table. This works under the assumption that a
character is likely to be in the same script block as the
preceding character in a string.
(pango_script_for_unichar): First, do a quick check against the
pango_easy_scripts_table. Then, do the expensive check with
pango_script_for_unichar_with_last_index().
(pango_script_iter_next): If the character is within the easy
script range, find out if it is a paired character by using
PANGO_PAIRED_CHAR_FLAG.
(struct _PangoScriptIter): Add a last_index_for_script_lookup
field. We use this to maintain the last-lookup index from
pango_script_for_unichar_with_last_index().
(pango_script_iter_next): If the character is not within the easy
script range, use pango_script_for_unichar_with_last_index(), and
store the index in the last_index_for_script_lookup field of the
PangoScriptIter.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-11-04 Behdad Esfahbod <behdad@gnome.org>
* configure.in, examples/argcontext.c examples/cairoview.c,
examples/renderdemo.c, examples/renderdemo.h examples/xftview.c,
modules/basic/basic-x.c, modules/hangul/hangul-fc.c,
modules/hebrew/hebrew-shaper.c, modules/hebrew/hebrew-shaper.h,
modules/indic/indic-fc.c, modules/indic/mprefixups.c,
modules/syriac/syriac-fc.c, pango/break.c pango/fonts.c,
pango/modules.c, pango/pango-coverage.c pango/pango-engine.c,
pango/pango-engine.h, pango/pango-fontmap.c,
pango/pango-fontset.c, pango/pango-impl-utils.h,
pango/pango-layout.c, pango/pango-layout.h,
pango/pango-renderer.c, pango/pango-script.c,
pango/pango-utils.c, pango/pangocairo-fc.h,
pango/pangocairo-font.c, pango/pangocairo-fontmap.c,
pango/pangocairo-private.h, pango/pangofc-decoder.c,
pango/pangofc-font.c, pango/pangofc-fontmap.c pango/pangoft2.c,
pango/pangox-fontcache.c, pango/pangox-fontmap.c pango/pangox.c,
pango/pangoxft-font.c, pango/querymodules.c,
pango/opentype/ftglue.c, pango/opentype/ftxgpos.c,
pango/opentype/ftxopen.c, pango/opentype/pango-ot-buffer.c,
pango/opentype/pango-ot-info.c,
pango/opentype/pango-ot-ruleset.c, tests/dump-boundaries.c,
tests/testboundaries.c, tests/testcolor.c tests/testiter.c,
tests/testscript.c: Turn various gcc warnings off. Adding const,
adding static, fully initializing structs, match signedness in
comparisons. (#317804)
* tests/testscript.c, tools/gen-script-for-lang.c:
(scripts_for_file): Pass error->message instead of error to fail(),
which was wrong.
(compare_lang): Fix typo comparing a and a instead of a and b.
|
|
|
|
|
|
|
|
|
|
| |
2005-08-08 Roozbeh Pournader <roozbeh@farsiweb.info>
* docs/tmpl/scripts.sgml, modules/arabic/arabic-ot.c,
pango/pango-script.c, pango/pango-script.h,
pango/pango-script-table.h, tools/gen-script-table.pl: Updated to
Unicode 4.1, adding new scripts and Arabic joining data. (#312884)
`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-07-21 Owen Taylor <otaylor@redhat.com>
Fix up places where there is missing or incomplete
Copyright and License information (Reported by William N. Ray)
* pango/opentype/fterrcompat.h: Mark as FreeType/GPL licensed.
* pango/opentype/FT-license.txt: Make this the dual-licensing
description that covers the FreeType code (FreeType's
LICENSE.TXT) rather than the FTL.
* pango/opentype/FTL.TXT: Move the FTL (referenced from
FT-license.txt) to here.
* modules/basic/basic-common.h modules/hebrew/hebrew-shaper.h
modules/thai/thai-charprop.c modules/thai/thai-shaper.h
tools/gen-script-for-lang.c tests/testcolor.c:
Add LGPL header and copyright information.
* modules/indic/indic-ot.[ch] modules/indic/indic-ot-class-tables.c
modules/thai/thai-ot.[ch]: Add LGPL header.
* modules/thai/thai-shaper.c modules/thai/thai-charprop.h:
Minor fixes to copyright information.
* modules/arabic/arabic-ot.c: Add Freetype license boilerplate.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-06-14 Owen Taylor <otaylor@redhat.com>
* pango/pango-script-table.h (struct): Hand edit
to fix a bug in the 4.0.0 data tables.
(#173096, Sukhjinder Sidhu)
* tools/gen-script-table.pl: Some updates to handle
newer formats (not actually regenerating tables at the
moment, since the changes are large)
|
|
|
|
|
|
|
|
|
| |
Sat Mar 5 13:51:04 2005 Manish Singh <yosh@gimp.org>
* pango/mini-fribidi/fribidi_types.[ch]: const correctness for
_pango_fribidi_prop_to_type
* tools/Makefile.am: dist gen-script-table.pl and gen-color-table.pl
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-03-04 Owen Taylor <otaylor@redhat.com>
Reduce non-shared data (#168899, inspired by patches
from Tommi Komulainen and Ross Burton)
* pango/pango-color.c pango/pango-color-table.h
tools/gen-color-table.pl: Redo storage of colors to
use offsets into a static string rather than embedded
strings. (Inspired by a patch from Tommi Komulainen,
#168899)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-03-04 Owen Taylor <otaylor@redhat.com>
Reduce non-shared data (#168899, inspired by patches
from Tommi Komulainen and Ross Burton)
* pango/pango-color.c pango/pango-color-table.h
tools/gen-color-table.pl: Redo storage of colors to
use offsets into a static string rather than embedded
strings. (Inspired by a patch from Tommi Komulainen,
#168899)
* pango/break.c pango/fonts.c pango/pango-color.c
pango/pango-layout.c pango/pango-markup.c
pango/pango-script-lang-table.h
pango/mini-fribidi/fribidi_types.c
tools/gen-script-for-lang.c: Add const in various places
* modules/arabic/arabic-fc.c modules/hebrew/hebrew-fc.c:
modules/indic/{indic-fc.c,indic-ot-class-tables.c,
indic-ot.h} modules/syriac/syriac-ot.c (syriac): Further
addition of const.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
Wed May 28 17:43:16 2003 Owen Taylor <otaylor@redhat.com>
(#107630, Federic Zhang)
* tools/compress-table.pl (convert): Make read the
maps directly.
* tools/make-table.pl: Remove.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fri Nov 17 16:12:34 2000 Owen Taylor <otaylor@redhat.com>
* Released 0.13
* NEWS: Updates for 0.13
Fri Nov 17 16:04:19 2000 Owen Taylor <otaylor@redhat.com>
* tools/Makefile.am (EXTRA_DIST): Add maps/tis-620
* Makefile.am (EXTRA_DIST): Added TODO.xml
* pango/Makefile.am (EXTRA_DIST): Add .def files
for Win32.
* examples/Makefile.am (EXTRA_DIST): Add a couple
of missing files.
* docs/Makefile.am (dist-hook): Add back accidentally
removed rule to distribute TEXT/*.
|
|
|
|
|
|
|
| |
Thu Aug 31 11:29:33 2000 Owen Taylor <otaylor@redhat.com>
* tools/maps/tis-620: Check in this file, since it
isn't from the Unicode consortium.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Wed Aug 30 21:42:42 2000 Owen Taylor <otaylor@redhat.com>
* configure.in (QTDIR): Add /usr/lib/qt-2.2.0 to the
list.
* modules/basic/tables-big.i: Updated using fixed
make-table.sh. Added koi8-r and iso8859-1
* modules/basic/tables-small.i: Add note noting
non-maintainence.
* tools/make-table.sh: Fix for mapping tables with
3 columns provided by KUSANO Takayuki.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fri May 5 18:56:45 2000 Owen Taylor <otaylor@redhat.com>
* pango/break.c (pango_break): Add ZWS to hacky
break algorithm.
* modules/basic/basic.c (basic_engine_shape): Special
case zero-width-space as a temporary hack. (What's the
right solution?)
* modules/basic/tables-big.i: Added support for TIS-620
encoding.
* configure.in pango/modules.[ch] pango/Makefile.am
modules/**: First stab at support for linking modules
directly into Pango. Add a --with-included-modules=
flag that causes the specified modules to be built
as convenience libraries and linked directly into
libpangox.
Tue May 2 22:59:52 2000 Owen Taylor <otaylor@redhat.com>
* modules/basic/basic.c: Get rid of link list of masks
in cache structure in favor of an array. (This is
easy to do now since we already have linear indices
for the masks from the new table format.)
* pango/modules.c pango/pango-context.c pango/pangox.c:
Modify _pango_find_map() to take quarks for the
engine type and render type instead of strings.
Get rid of the map hash table in favor of a GList
with the most recently used map at the beginning.
* pango/modules.[ch] pango/pango-context.c pango/pangox.c:
Add some utility functions for getting the engine
for a particular character in a map. Using modules.c
knowledge of map structure, this allows us to save
a bunch of useless strcmps.
* pango/pango-context.c (add_engines): Remove unused
lookup of shape mask.
* modules/basic/tables-{small,big}.i modules/basic/basic.c
tools/compress-table.pl: Reencode mask table to avoid binary
searches and save a bit of space.
* modules/basic/basic.c (find_converter): Get rid
of gratuitous use of hash tables for looking up
iconv converters.
* modules/basic/tables-{small,big}.i modules/basic/basic.c:
Use conv_ucs4 instead of conv_8bit for latin-1.
* pango/pango-layout.c: Avoid calling pango_glyph_string_extents() -
just add up the widths from shaping.
|
|
|
|
|
|
|
| |
Thu Jan 13 16:57:22 2000 Owen Taylor <otaylor@redhat.com>
* examples/viewer.c: reindented.
* README: updated
|
|
|