Re: Unicode normalization and text display differences

Hi Ben,

You at least need to tell us on what platform you are testing this and with
what fonts.

On 16-01-06 02:00 PM, Benjamin Kiessling wrote:
Hi everybody,

I am trying to build a simple line generation tool for training neural
networks for OCR and everything is working fine except an oddity in
display depending on Unicode normalization, in particular diacritic

In [0] (text is normalized to NFC) diacritics are placed correctly while
in [1] (text normalized to NFD) diacritics are placed next to the
preceding code point. 

If I understand Unicode correctly there should be no difference in
display and there is a presentation about Pango from 2004 claiming that
there shouldn't be one.

Is this a known issue or expected behavior? Is there some preprocessing
necessary before using pango_layout_set_text()?

All Best,

gtk-i18n-list mailing list
gtk-i18n-list gnome org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]