| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
PANGO_GRAVITY_NORTH instead of PANGO_GRAVITY_SOUTH?
|
|
|
|
|
|
| |
The annotation for pango_layout_set_attributes should be
'transfer none', not 'transfer full'. Pointed out in
https://bugzilla.gnome.org/show_bug.cgi?id=707874
|
|
|
|
|
|
|
|
|
|
|
| |
layouts get initialized with text == NULL as an optimization (avoid a
malloc). But pango_layout_set_text (layout, NULL, 0); will set the text
to "", so it is impossible to set a NULL text.
Fxies crashers in various places that assume NULL return values never
happen.
https://bugzilla.gnome.org/show_bug.cgi?id=707659
|
|
|
|
|
|
|
|
|
| |
Since pango_scan_int() would return FALSE if the scanned value was over
INT_MAX; and the reference out value's type is an int, (n > INT_MAX)
test is unecessary.
If pango_scan_int() behavior was to be changed to accept long
int, an explicit test should be added (or the PangoAttrSize
type updated to handle long int too).
|
| |
|
|
|
|
|
| |
Since the value is stored as an int, no reason to use any other value
than INT_MAX.
|
|
|
|
| |
Patch from Akira TAGOH.
|
| |
|
|
|
|
| |
Fix all-RTL reordering. Oops!
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
If new test api is not available, do without it. In this
case, the tests won't work installed, but they should still
work uninstalled and in distcheck.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Back in the days we used to always use the font from surrounding runs
for any space characters. I changed that when I found that rendering
MathML results in hexboxes when a font doesn't have the space characters
needed...
Forward to these days: HarfBuzz will silently compatibility-decompose
any space character to the ASCII space. And looks like it's important
for Mongolian to not break runs around NNBSP. As such, go back to never
choosing a font just for space characters.
Seems to work, though more testing is needed.
Bug 701652 - wrong shaped classic Mongolian word suffixes
|
|
|
|
| |
This ensures that tests are run continuously on ostree.gnome.org.
|
| |
|
|
|
|
|
|
|
| |
Some builders (e.g. GNOME and jhbuild) hard depend on pangocairo,
and we really don't want to emit a build of pango without support
for it. So jhbuild can specify --with-cairo, and we'll get
a hard error.
|
|
|
|
|
|
| |
Needed for threadsafety bug fixes.
Bug 700247 - test-pangocairo-threads segfaults
|
| |
|
|
|
|
|
|
|
| |
Newer Unicode specs (6.2 for instance)
say that one should not break between letter or numbers
that are adjacent. This also makes us to match word selection
with many text capable apps.
|
|
|
|
|
|
|
|
| |
This partially reverts 25ad29b488d3e2ae10e4fee25602409fa39207f1
which itself was a revert. Apparently we want the change in
CoreText, but not on Win32...
See mailing list discussion.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
We need to link to the Debug CRT for debug configs, not the release CRTs,
as linking to different CRTs will cause trouble during debugging.
|
| |
|
|
|
|
| |
Based on patch from Chun-wei Fan.
|
| |
|
| |
|
|
|
|
| |
Patch from Chun-wei Fan.
|
| |
|
|
|
|
| |
Add commands to be used for building introspection files.
|
|
|
|
|
|
|
| |
Integrate the utility project files to build the introspection files.
This is not built by default, so one may choose to build the introspection
files if he/she chooses
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add Windows .bat and Python utility script to call g-ir-scanner to build
the introspection files for Pango/MSVC builds. This will read from
pango/Makefile.am to determine the source and header files to process using
Python REGEX capabilities, so the autotools files won't have to be updated
except to distribute the necessary files under build/win32.
Also add utility Visual Studio 2008/2010 projects to call the Windows .bat
to create the introspection files.
https://bugzilla.gnome.org/show_bug.cgi?id=692255
|
| |
|
| |
|
|
|
|
| |
libpang-1.0.la in _gir_LIBS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit b359bb484bc7d27a835cfd6d9ffcaed582ebf2ae.
Bug 694918 - Pango layout is rendered in wrong size if we have
non-identity cairo transformation matrix
I was wrong blindly copying this logic from pangocairo-fc into
pangocairo-win32 and pangocairo-quartz.
The reason we need the it in pangofc is because the fontsize we
get back from fontconfig is multiplied by the ctm scale factor,
so we undo it when loading the font. The same is NOT true about
the non-fc backends, so the copying was totally wrong.
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=694626
|
|
|
|
|
|
|
| |
This is needed as a base class sometimes needs to invalidate
the fontmap.
https://bugzilla.gnome.org/show_bug.cgi?id=694626
|
| |
|
|
|
|
|
|
| |
When win32 fontmap goes away, font->fontmap becomes NULL. Deal
with that. Technically speaking, we need to port this to GWeakRef
like the other fontmaps do. But this would do for now.
|
|
|
|
|
|
|
| |
.def files are mostly used on Win32. Whitelist the win32 font map
function in the check.
Bug 694095 - Fails make check: -pango_cairo_win32_font_map_get_type
|
|
|
|
| |
These have now been put into Harfbuzz upstream
|
| |
|