| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
This is problematic when building pango as subproject
of gtk on the win32 ci.
|
|
|
|
|
| |
Empty arrays are one of the C99 features that is not currently supported
by any Visual Studio versions. Avoid doing so.
|
| |
|
|
|
| |
This reverts commit 3e754defc364a89b2136894399b3463976840156
|
|
|
|
|
|
|
|
|
| |
This commit replaces the PangoScript enum by a
typedef to GUnicodeScript, and preserves the old
enum values as defines.
This depends on adding an enum type for GUnicodeScript
in gobject.
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
Issue #322 - Vertical text doesn't fall back to rotated versions of horizontal glyphs when necessary
Closes #322
See merge request GNOME/pango!28
|
| |
| |
| |
| |
| |
| |
| | |
...of horizontal glyphs when necessary
Implemented UAX#50 to determine whether characters rotate or not
in vertical layout.
|
|\ \
| | |
| | |
| | |
| | | |
Update Unicode Text Segmentation to Unicode 11
See merge request GNOME/pango!15
|
| | | |
|
|/ /
| |
| |
| | |
Patch by David Corbett in HarfBuzz.
|
|/ |
|
|
|
|
| |
We will just use meson from now on.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is possible that we can have the following situations, at least on
Windows:
-FreeType present, FontConfig missing
-Cairo-FT present, with no FontConfig support.
As gen-script-for-lang requires FontConfig, and PangoFT2 depends on
HarfBuzz, FontConfig and Freetype, we need to check for them before we
build PangoFT2, and so that we could include PangoFT2 support in
PangoCairo.
The tests and pango-view have an optional dependency on PangoFT2, so we
need to also check whether we built PangoFT2 before we try to build
things related to PangoFT2.
For the tools, since gen-script-for-lang.c depends on FontConfig, check
for it as well before we build it.
https://bugzilla.gnome.org/show_bug.cgi?id=783274
|
|
|
|
|
|
| |
Ported from Chromium.
Not hooked yet.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Meson is a meta build system that is:
- fast
- simpler to understand and use
- portable to multiple platforms through different backends
- well integrated with the GNOME platform
- well maintained
Using Meson allows us to build Pango much more quickly, and on all the
platforms we currently target, without any loss of functionality,
compared to Autotools.
Some timing comparisons with hot ccache for both build systems:
* autogen.sh: * meson
real 0m11.149s real 0m2.525s
user 0m8.153s user 0m1.609s
sys 0m2.363s sys 0m1.206s
* make -j$(($(nproc) + 2)) * ninja
real 0m9.186s real 0m3.387s
user 0m16.295s user 0m6.887s
sys 0m5.337s sys 0m1.318s
--------------------------------------------------------------
* autotools * meson + ninja
real 0m27.669s real 0m5.772s
user 0m45.622s user 0m8.465s
sys 0m10.698s sys 0m2.357s
System: Intel Core i7-7500U, SSD, 16GB of RAM
|
|
|
|
|
|
| |
http://lists.w3.org/Archives/Public/www-style/2014Jun/0312.html
Thanks Lapo for pointing out this omission!
|
| |
|
| |
|
|
|
|
|
|
| |
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)
|