| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Avoid determining the Unicode type repeatedly. Instead,
just get the type once and filter out the classes we want.
|
|
|
|
|
| |
We already have the Unicode type, so we can determine
isspace without doing the full type determination again.
|
|
|
|
| |
Instead of going through a wrapper.
|
|
|
|
|
| |
Some compilers insist on using a number for a guint16 return type, and does
not like using NULL in place of 0, so fix this.
|
|
|
|
|
|
| |
Harfbuzz 1.0.2 had errors in this area that gave us crashes
in the testsuite (testiter). Therefore, only use this feature with
Harfbuzz 1.0.3 or newer.
|
|
|
|
|
|
| |
"Fixes" https://bugzilla.gnome.org/show_bug.cgi?id=541608
Real fix went to HarfBuzz.
|
|
|
|
| |
Part of https://bugzilla.gnome.org/show_bug.cgi?id=541608
|
|
|
|
|
|
| |
Much better now.
Now I see issues in justify_words() again :(.
|
| |
|
|
|
|
| |
Was totally b0rked. Much better now. Should be good enough...
|
| |
|
|
|
|
|
|
|
| |
Bug 753772 - Justify option inserts spaces in wrong positions
https://bugzilla.gnome.org/show_bug.cgi?id=753772
Went unnoticed for 8 years...
|
|
|
|
| |
Ouch!
|
| |
|
|
|
|
|
|
|
| |
Libthai is not threadsafe (thought it probably can easily be made to be).
As such, add mutex around th_brk() calls.
test-pangocairo-threads passes again.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=753167
|
|
|
|
|
|
|
| |
So that we can set attributes (e.g. colors) to the marks and their bases
indecently.
https://bugzilla.gnome.org/show_bug.cgi?id=541608
|
|
|
|
|
| |
Instead of relying on the fact that marks have the same cluster number
as their bases, which will change in the next commit.
|
| |
|
|
|
|
|
|
|
| |
For foreground and background colors, allow #rrggbbaa to specify
a color with alpha. This will be returned as two attributes, for
color and alpha. underline_color and strikethrough_color are still
limited to #rrggbb, with no alpha component.
|
|
|
|
|
|
| |
Support alpha and background_alpha attributes on span elements.
The value can either be a plain integer between 1 and 65536 or
a percentage like 50%.
|
|
|
|
|
|
| |
Make PangoCairoRenderer use cairo_set_source_rgba() to apply
colors with alpha. Note that this means we are only using the
alpha if the corresponding color has been set.
|
|
|
|
|
|
| |
Add pango_renderer_get/set_alpha to allow associating alpha
values with the various colors. The alpha is stored as a value
between 0 and 65536, with 0 meaning 'unset'.
|
|
|
|
| |
Add attributes types for foreground and background alpha.
|
| |
|
|
|
|
|
|
| |
It was combining the last two clusters. Ouch!
Test added already. Passes now.
|
| |
|
|
|
|
|
| |
HarfBuzz buffer comes with a properly set up Unicode funcs
these days. So, trust it.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=738505
Patch from Matthias Clasen, based on early patch from Akira TAGOH.
There's room for improvement in how this is done, but it works now
for simple cases, which is what most people will be using it for.
Finally!
|
|
|
|
| |
Round lsb.
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes bug #750017
|
|
|
|
|
|
|
|
| |
The fallback code for conversion from fontconfig font weights
to PangoWeight was mixing up PANGO_WEIGHT_SEMILIGHT and
PANGO_WEIGHT_LIGHT.
https://bugzilla.gnome.org/show_bug.cgi?id=749635
|
|
|
|
| |
Follow-up of the previous commit.
|
|
|
|
|
|
| |
The common practice is to name the first stable version in which
a function is deprecated. Following that here and mark things
as deprecated in 1.38.
|
|
|
|
|
| |
Ugh. With 64-bit machines, weird things were happening inside MIN/MAX()
when one of the arguments was unsigned...
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=700592
|
|
|
|
|
|
|
|
| |
These all are general utility functions that do not belong to Pango’s
public interface. Most of them are unused internally now, the few ones
that are still used should be made private at some point.
https://bugzilla.gnome.org/show_bug.cgi?id=682840
|
| |
|
|
|
|
|
|
|
| |
We use a compile-time check: if compiling for platforms 10.8 or higher,
use the public function, otherwise use the undocumented function.
Fixes bug 737813.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=748822
https://bugzilla.gnome.org/show_bug.cgi?id=744836
|
| |
|
| |
|