[Bug 63633] Use UCD compat decompositions

pango (bugzilla.gnome.org) bugzilla at gnome.org
Sat May 8 03:15:31 UTC 2010


https://bugzilla.gnome.org/show_bug.cgi?id=63633
  pango | general | 0.x

--- Comment #25 from Behdad Esfahbod <behdad at gnome.org> 2010-05-08 03:15:24 UTC ---
(In reply to comment #24)

> I've taken a look at harfbuzz-ng; am I correct in thinking that the solution
> should be in hb_map_glyphs()? If it can't find a glyph for the current font and
> a decomposition exists for the current codepoint, it could insert the
> decomposed glyphs instead. Unfortunately, this means the buffer might have to
> be reallocated. :-\

Buffer reallocation is not a problem as we already have the facility for that. 
And yes, that's the right function.  Decomposing is easy.  Harder is to try
composing multiple characters into one.  In that case, we should normalize the
string first.  It sounds like a good idea to normalize anyway.

I'll keep it in mind for the upcoming HarfBuzz hackfest.

> I don't know how this would fit in with falling back on different fonts in
> Pango rather than decompositions.

So yes, that's the part I don't know either.  If we know the layout engine does
decomposition, pango's font selection can also do the same...

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the fonts-bugs mailing list