GNOME Bugzilla – Bug 141405
PangoLayout alignments are reversed when context uses WEAK_*
Last modified: 2004-12-22 21:47:04 UTC
As discussed the get_alignment routine was a bit too literal. The attached patch would seem to solve that.
Created attachment 27210 [details] [review] make the comparison a bit smarter I'm guessing that neutral shouldn't invert
Looks good to commit if you rename the function to something like get_simple_direction (), and add a space after the '-'. [I don't like having static functions that look like they are global API functions in a different module] I haven't branched yet, so you just need to commit on HEAD.
Actually, now I've branched, so this needs to be committed both on pango-1-4 and HEAD.
Created attachment 28129 [details] [review] version that was committed This variant was committed to head and pango-1-4