Upright glyphs with combining marks in vertical text.
Hi, I've got two questions about rendering characters with combining marks (as one might have with CSS "writing-mode:vertical;text- orientation:upright"). It appears that Pango misplaces the marks as shown by: pango-view --annotate=2 --dpi=160 --gravity=east --gravity-hint=strong --rotate=-90 test-combining.txt where test-combining.txt has the following characters: G̃g̃X̃x̃ 1. Is this a bug? Or am I doing something wrong? 2. Shouldn't the width in PangoGlyphGeometry be the vertical height when typeset in upright vertical mode (with combining marks having a vertical height of zero)? Thanks, Tav ___ gtk-i18n-list mailing list gtk-i18n-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-i18n-list
Re: Upright glyphs with combining marks in vertical text.
Pictures please? On Wed, Sep 6, 2017 at 12:07 PM, Tavmjong Bah wrote: > > Hi, > > I've got two questions about rendering characters with combining marks > (as one might have with CSS "writing-mode:vertical;text- > orientation:upright"). > > It appears that Pango misplaces the marks as shown by: > > pango-view --annotate=2 --dpi=160 --gravity=east --gravity-hint=strong > --rotate=-90 test-combining.txt > > where test-combining.txt has the following characters: > > G̃g̃X̃x̃ > > 1. Is this a bug? Or am I doing something wrong? > > 2. Shouldn't the width in PangoGlyphGeometry be the vertical height > when typeset in upright vertical mode (with combining marks having a > vertical height of zero)? > > Thanks, > > Tav > > > ___ > gtk-i18n-list mailing list > gtk-i18n-list@gnome.org > https://mail.gnome.org/mailman/listinfo/gtk-i18n-list > -- behdad http://behdad.org/ ___ gtk-i18n-list mailing list gtk-i18n-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-i18n-list
Re: Upright glyphs with combining marks in vertical text.
On Wed, 2017-09-06 at 12:24 -0700, Behdad Esfahbod wrote: > Pictures please? Attached. > On Wed, Sep 6, 2017 at 12:07 PM, Tavmjong Bah > wrote: > > Hi, > > > > I've got two questions about rendering characters with combining > > marks > > (as one might have with CSS "writing-mode:vertical;text- > > orientation:upright"). > > > > It appears that Pango misplaces the marks as shown by: > > > > pango-view --annotate=2 --dpi=160 --gravity=east --gravity- > > hint=strong > > --rotate=-90 test-combining.txt > > > > where test-combining.txt has the following characters: > > > > G̃g̃X̃x̃ > > > > 1. Is this a bug? Or am I doing something wrong? > > > > 2. Shouldn't the width in PangoGlyphGeometry be the vertical height > > when typeset in upright vertical mode (with combining marks having > > a > > vertical height of zero)? > > > > Thanks, > > > > Tav ___ gtk-i18n-list mailing list gtk-i18n-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-i18n-list
Re: Upright glyphs with combining marks in vertical text.
Renders fine with hb-view, but broken with pango-view. I'll take a look. On Thu, Sep 7, 2017 at 1:34 AM, Tavmjong Bah wrote: > On Wed, 2017-09-06 at 12:24 -0700, Behdad Esfahbod wrote: > > Pictures please? > > Attached. > > > On Wed, Sep 6, 2017 at 12:07 PM, Tavmjong Bah > > wrote: > > > Hi, > > > > > > I've got two questions about rendering characters with combining > > > marks > > > (as one might have with CSS "writing-mode:vertical;text- > > > orientation:upright"). > > > > > > It appears that Pango misplaces the marks as shown by: > > > > > > pango-view --annotate=2 --dpi=160 --gravity=east --gravity- > > > hint=strong > > > --rotate=-90 test-combining.txt > > > > > > where test-combining.txt has the following characters: > > > > > > G̃g̃X̃x̃ > > > > > > 1. Is this a bug? Or am I doing something wrong? > > > > > > 2. Shouldn't the width in PangoGlyphGeometry be the vertical height > > > when typeset in upright vertical mode (with combining marks having > > > a > > > vertical height of zero)? > > > > > > Thanks, > > > > > > Tav > -- behdad http://behdad.org/ ___ gtk-i18n-list mailing list gtk-i18n-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-i18n-list
Re: Upright glyphs with combining marks in vertical text.
Care filing a bug please, so we don't lose? On Sun, Sep 10, 2017 at 4:24 AM, Behdad Esfahbod wrote: > Renders fine with hb-view, but broken with pango-view. > I'll take a look. > > On Thu, Sep 7, 2017 at 1:34 AM, Tavmjong Bah wrote: > >> On Wed, 2017-09-06 at 12:24 -0700, Behdad Esfahbod wrote: >> > Pictures please? >> >> Attached. >> >> > On Wed, Sep 6, 2017 at 12:07 PM, Tavmjong Bah >> > wrote: >> > > Hi, >> > > >> > > I've got two questions about rendering characters with combining >> > > marks >> > > (as one might have with CSS "writing-mode:vertical;text- >> > > orientation:upright"). >> > > >> > > It appears that Pango misplaces the marks as shown by: >> > > >> > > pango-view --annotate=2 --dpi=160 --gravity=east --gravity- >> > > hint=strong >> > > --rotate=-90 test-combining.txt >> > > >> > > where test-combining.txt has the following characters: >> > > >> > > G̃g̃X̃x̃ >> > > >> > > 1. Is this a bug? Or am I doing something wrong? >> > > >> > > 2. Shouldn't the width in PangoGlyphGeometry be the vertical height >> > > when typeset in upright vertical mode (with combining marks having >> > > a >> > > vertical height of zero)? >> > > >> > > Thanks, >> > > >> > > Tav >> > > > > -- > behdad > http://behdad.org/ > -- behdad http://behdad.org/ ___ gtk-i18n-list mailing list gtk-i18n-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-i18n-list
Re: Upright glyphs with combining marks in vertical text.
On Sun, 2017-09-10 at 04:24 -0700, Behdad Esfahbod wrote: > Care filing a bug please, so we don't lose? https://bugzilla.gnome.org/show_bug.cgi?id=787526 id="-x-evo-selection- start-marker"> On Sun, Sep 10, 2017 at 4:24 AM, Behdad Esfahbod wrote: > Renders fine with hb-view, but broken with pango-view. > I'll take a look. > > On Thu, Sep 7, 2017 at 1:34 AM, Tavmjong Bah > wrote: > > On Wed, 2017-09-06 at 12:24 -0700, Behdad Esfahbod wrote: > > > > > Pictures please? > > > > > > > > Attached. > > > > > > > > > On Wed, Sep 6, 2017 at 12:07 PM, Tavmjong Bah > > > > > wrote: > > > > > > Hi, > > > > > > > > > > > > I've got two questions about rendering characters with > > combining > > > > > > marks > > > > > > (as one might have with CSS "writing-mode:vertical;text- > > > > > > orientation:upright"). > > > > > > > > > > > > It appears that Pango misplaces the marks as shown by: > > > > > > > > > > > > pango-view --annotate=2 --dpi=160 --gravity=east --gravity- > > > > > > hint=strong > > > > > > --rotate=-90 test-combining.txt > > > > > > > > > > > > where test-combining.txt has the following characters: > > > > > > > > > > > > G̃g̃X̃x̃ > > > > > > > > > > > > 1. Is this a bug? Or am I doing something wrong? > > > > > > > > > > > > 2. Shouldn't the width in PangoGlyphGeometry be the vertical > > height > > > > > > when typeset in upright vertical mode (with combining marks > > having > > > > > > a > > > > > > vertical height of zero)? > > > > > > > > > > > > Thanks, > > > > > > > > > > > > Tav > > > > > > > > -- > behdad > http://behdad.org/ > > ___ gtk-i18n-list mailing list gtk-i18n-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-i18n-list