| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
G_CONST_RETURN is headed for deprecation (as per bug #644611). Stop
using it in Pango.
https://bugzilla.gnome.org/show_bug.cgi?id=652202
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
On Mac OS X systems where CoreText is available (that is, 10.5 or
higher), we will build the CoreText backend instead of the ATSUI
backend. In this case, the ATSUI backend will not be built and
installed. This change is necessary because since Mac OS 10.5
ATSUI has been marked as deprecated.
For older systems, we will have to continue to use the
ATSUI backend.
|
|
|
|
| |
Fix the previous fix!
|
| |
|
|
|
|
|
|
|
| |
Dont load usp10.dll dynamically with LoadLibrary(). Just link to the
Uniscribe API directly. MinGW comes with an import library so no
problem with that either. The Uniscribe DLL is present on all versions
of Windows we care for.
|
|
|
|
|
|
|
| |
The use of Uniscribe script caches was decidedly suboptimal. Use one
persistent SCRIPT_CACHE per Win32 font and script.
Patch by by David E. Hollingsworth and Fredrik Corneliusson, from bug
|
|
|
|
|
| |
Put the PANGO_MODULE_PREFIX defines in the project files instead of
having them behind an ifdef in the source files.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The VS files are kept in build/win32/vs9, the same relative location
as in GLib, mostly for historical reasons.
Update README.win32 to reflect the VS possibility.
Include the VS solution and project files in the tarball when doing a
release.
To avoid having to list source files in several locations, generate
files listing source files at "make dist" time in the corresponding
source directories. Use the C preprocessor to preprocess .vcprojin
files that include said list files into the actual .vcproj project
files.
Provide a rc file for the pangocairo DLL, too.
Construct and provide in the tarball a pregenerated config.h.win32
which can be used as config.h when building with Visual C without
running any configure script. Provide pregenerarated
module-defs.h.win32, module-defs-lang.c.win32 files too.
Define PANGO_MODULE_PREFIX appropriately in the relevant module source
files if not available from the compilation command line.
Update module-defs-fc.c.win32 and module-defs-win32.c.win32 to match
what the configure script provides.
|
|
|
|
| |
Random character class changes... It's all Chinese to me.
|
| |
|
|
|
|
|
|
| |
Fix the basic ATSUI to probably work on 64-bit Snow Leopard. The main
culprit was most probably in the usage of CGFontRef, where ATSUFontID
was expected.
|
|
|
|
|
| |
Fixed all modules to reverse glyphs if run is rtl. Except for Hangul module.
Fixed pango_shape() to detect that, warn, and reverse.
|
|
|
|
| |
Add classification for new characters. Patch from Parag AN.
|
|
|
|
|
|
| |
Unfortunately this change breaks complex script shaping.
This reverts commit ea608c0bd7721d3019bed7ef2472289b1ea6fa53.
|
|
|
|
|
| |
And sprinkle some $(AM_V_GEN) around. Silent rules are disabled by
default.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A few weeks ago I reported a performance issue regarding the use of
Uniscribe in the win32 basic shaper.
It turns out that the issue was with the use of Uniscribe's
SCRIPT_CACHE. Despite the name, this value is for caching
per-font-plus-size values, not per-script values. See:
http://msdn.microsoft.com/en-us/library/dd317726(VS.85).aspx
Since shaping occurs on runs containing a single font, we only need
one SCRIPT_CACHE in uniscribe_shape. I'm including a patch below that
does this. With the patch applied, the time for one of my tests went
from 20s to .3s.
|
|
|
|
| |
Patch from http://trac.macports.org/ticket/17049
|
| |
|
| |
|
|
|
|
|
| |
Add char class for new characters.
Patch from Rahul Bhalerao.
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-03 Behdad Esfahbod <behdad@gnome.org>
Bug 529591 – Code related to malayalam is misplaced.
Patch from Rahul Bhalerao
* modules/indic/indic-ot.c (indic_ot_reorder): Fix it.
svn path=/trunk/; revision=2780
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-12-25 Behdad Esfahbod <behdad@gnome.org>
* modules/arabic/arabic-fc.c (arabic_engine_shape):
* modules/arabic/arabic-lang.c (arabic_engine_break):
* modules/basic/basic-fc.c (basic_engine_shape):
* modules/basic/basic-x.c (find_char), (conv_8bit), (conv_eucjp),
(conv_16bit), (conv_16bit_MSB_on), (conv_gb18030_1), (conv_euctw),
(conv_ucs4), (basic_engine_shape), (basic_engine_covers):
* modules/hangul/hangul-fc.c (hangul_engine_shape):
* modules/hebrew/hebrew-fc.c (add_cluster), (fallback_shape):
* modules/indic/indic-lang.c (indic_engine_break):
* modules/khmer/khmer-fc.c (khmer_engine_shape):
* modules/syriac/syriac-fc.c (syriac_engine_shape):
* modules/thai/thai-fc.c (get_glyph_index_tis),
(thai_engine_shape), (thai_make_unknown_glyph):
* modules/thai/thai-lang.c (thai_engine_break):
* modules/thai/thai-shaper.c (get_glyphs_list):
* modules/tibetan/tibetan-fc.c (tibetan_engine_shape):
Fix all warnings in modules/.
svn path=/trunk/; revision=2771
|
|
|
|
|
|
|
|
|
|
| |
2008-11-22 Theppitak Karoonboonyanan <thep@linux.thai.net>
* modules/thai/thai-lang.c (thai_engine_break):
Minor indentation fixes for previous commit.
svn path=/trunk/; revision=2741
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-11-22 Chris Wilson <chris@chris-wilson.co.uk>
Bug 561740 – Use stack allocation for thai_engine_break
* modules/thai/thai-lang.c (utf8_to_tis), (thai_engine_break):
Small tweak to allocate small, temporary arrays on the stack.
svn path=/trunk/; revision=2740
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-06 Behdad Esfahbod <behdad@gnome.org>
Fedora Bug 457883 - Sindhi Characters are not supported in
pango [U+097B-U+097F]
Patch from Pravin Satpute
* modules/indic/indic-ot-class-tables.c: Add [U+097B-U+097F].
svn path=/trunk/; revision=2684
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-06 Behdad Esfahbod <behdad@gnome.org>
Bug 441654 – prefix fails when more than one base characters (as
conjuncts) present after a half form the next prefix renders
incorrectly
Patch from Rahul Bhalerao
* modules/indic/mprefixups.c (indic_mprefixups_apply):
Do what I was told to do.
svn path=/trunk/; revision=2682
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-23 Behdad Esfahbod <behdad@gnome.org>
Bug 380094 – Fix split matra rendering bug for Kannada language
* modules/indic/indic-ot-class-tables.c: Fix Indic class for
U+0C8D and U+0C8E.
svn path=/trunk/; revision=2658
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-18 Behdad Esfahbod <behdad@gnome.org>
Bug 536017 – Remove SF_MPRE_FIXUP from Sinhala script flags
Patch by Harshula
* modules/indic/indic-ot-class-tables.c: Just freakin' do it.
I have no idea if it's right or wrong. Just that I've been
pestered enough to do it. Time will tell...
svn path=/trunk/; revision=2656
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-02-25 Tor Lillqvist <tml@novell.com>
Bug 515484 -- Uniscribe interface handles surrogate
pairs incorrectly
* modules/basic/basic-win32.c (itemize_shape_and_place): Pass
correctly offset wchar string to set_up_pango_log_clusters() so
that when it passes the string on to unichar_index() it notices
the surrogate pairs correctly.
svn path=/trunk/; revision=2574
|
|
|
|
| |
svn path=/trunk/; revision=2572
|
|
|
|
|
|
|
|
|
|
| |
2008-02-21 Kristian Rietveld <kris@imendio.com>
* modules/basic/basic-atsui.c (basic_engine_shape): free the
ATSU style and utf16 string at the end.
svn path=/trunk/; revision=2571
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-02-08 Behdad Esfahbod <behdad@gnome.org>
Bug 504810 – Samvruthokaram (combination of U+0D41 and U+0D4D) is not
rendered correctly
Patch from Praveen A
* modules/indic/indic-ot-class-tables.c:
* modules/indic/indic-ot.c (indic_ot_reorder):
"Fix" it.
svn path=/trunk/; revision=2562
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-12-05 Behdad Esfahbod <behdad@gnome.org>
Bug 501938 – Arabic shaping broken with vertical layout with
vertical-hint=line
* modules/arabic/arabic-fc.c (arabic_engine_shape): Take gravity into
equation when deciding whether to shape visually or logically.
svn path=/trunk/; revision=2516
|
|
|
|
| |
svn path=/trunk/; revision=2452
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-15 Behdad Esfahbod <behdad@gnome.org>
Bug 486932 – Apply vkrn GPOS feature in vertical writing
* modules/basic/basic-fc.c (basic_engine_shape): Apply vkrn
GPOS feature in vertical writing mode. Previously we had
no GPOS feature for vertical mode.
svn path=/trunk/; revision=2445
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-08-01 Behdad Esfahbod <behdad@gnome.org>
Bug 451682 – Cursor positioning for Sinhala is broken
Based on patch from Harshula
* modules/indic/indic-lang.c (indic_engine_break): Fix bug that
I introduced in the patch.
svn path=/trunk/; revision=2388
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-07-31 Behdad Esfahbod <behdad@gnome.org>
Bug 451682 – Cursor positioning for Sinhala is broken
Based on patch from Harshula
* modules/indic/indic-lang.c (not_cursor_position),
(indic_engine_break):
Clean up cursor position stuff.
svn path=/trunk/; revision=2387
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-07-24 Behdad Esfahbod <behdad@gnome.org>
Bug 150883 – Unicode LRO defect
* modules/arabic/arabic-fc.c (arabic_engine_shape):
* modules/arabic/arabic-ot.c (Get_Joining_Class),
(Arabic_Assign_Properties):
* modules/arabic/arabic-ot.h:
Correctly handle Arabic shaping in left-to-right runs.
svn path=/trunk/; revision=2378
|
|
|
|
| |
svn path=/trunk/; revision=2377
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-07-21 Behdad Esfahbod <behdad@gnome.org>
* modules/arabic/arabic-fc.c:
* modules/basic/basic-fc.c:
* modules/hebrew/hebrew-fc.c:
* modules/syriac/syriac-fc.c:
* modules/thai/thai-fc.c:
Update copyright headers.
svn path=/trunk/; revision=2372
|
|
|
|
|
|
|
|
|
|
| |
2007-07-10 Behdad Esfahbod <behdad@gnome.org>
* modules/basic/basic-atsui.c: Remove list of supported scripts.
Supporting all is what we really want and that's already there.
svn path=/trunk/; revision=2371
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-07-05 Behdad Esfahbod <behdad@gnome.org>
* modules/basic/Makefile.am:
* modules/basic/basic-fc.c:
* modules/basic/basic-win32.c:
* modules/basic/basic-x.c:
* modules/basic/basic-common.h:
Remove unused empty header file basic-common.h
svn path=/trunk/; revision=2370
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-06-24 Richard Hult <richard@imendio.com>
Bug 449543 - Ship pangoatsui.h
* pango/pangoatsui-fontmap.c:
* pango/pangoatsui-private.h:
* pango/pangoatsui.c:
* pango/pangoatsui.h:
* pango/pangocairo-atsuifont.c:
* pango/pangocairo-atsuifont.h: Move get_atsu_font_id from the
cairo atsui font class to the atsui base class. Make the members
of the atsui font private and adapt all users of them.
* pango/Makefile.am: Ship pangoatsui.h.
* modules/basic/basic-atsui.c: (basic_engine_shape): Adapt to the
above changes.
svn path=/trunk/; revision=2366
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-06-03 Behdad Esfahbod <behdad@gnome.org>
* docs/pango-sections.txt:
* docs/tmpl/opentype.sgml:
* modules/arabic/arabic-fc.c (arabic_engine_shape):
* modules/basic/basic-fc.c (basic_engine_shape):
* modules/hebrew/hebrew-fc.c (hebrew_engine_shape):
* modules/indic/indic-fc.c (indic_engine_shape):
* modules/khmer/khmer-fc.c (khmer_engine_shape):
* modules/syriac/syriac-fc.c (syriac_engine_shape):
* modules/thai/thai-fc.c (thai_engine_shape):
* modules/tibetan/tibetan-fc.c (tibetan_engine_shape):
* pango/pango-ot-ruleset.c (pango_ot_ruleset_get_for_description),
(pango_ot_ruleset_new_from_description):
* pango/pango-ot.h:
* pango/pangoft2.def:
Rename pango_ot_ruleset_get_for() to
pango_ot_ruleset_get_for_description().
New engine API: pango_ot_ruleset_new_from_description().
svn path=/trunk/; revision=2328
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-05-24 Behdad Esfahbod <behdad@gnome.org>
Bug 357790 – Rendering problem for malayalam consonant RA (U+0D30)
* modules/indic/indic-ot-class-tables.c:
* modules/indic/indic-ot.c (indic_ot_reorder):
Commit remaining fix for malayalam.
svn path=/trunk/; revision=2320
|
|
|
|
|
|
|
|
|
|
| |
2007-05-15 Behdad Esfahbod <behdad@gnome.org>
* modules/hebrew/hebrew-fc.c (hebrew_engine_shape):
Port to new OpenType APIs. Add standard features.
svn path=/trunk/; revision=2310
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-05-15 Behdad Esfahbod <behdad@gnome.org>
* modules/thai/Makefile.am:
* modules/thai/thai-fc.c (thai_get_font_info), (thai_engine_shape),
(thai_make_unknown_glyph):
* modules/thai/thai-shaper.c (get_glyphs_list), (add_cluster),
(thai_set_glyphs):
* modules/thai/thai-shaper.h:
Port to new OpenType APIs and cleanup a bit. Add standard features.
* modules/thai/thai-ot.c:
* modules/thai/thai-ot.h:
Removed. Not needed anymore.
svn path=/trunk/; revision=2309
|