Re: TeX-like H&J demo

So you know that someone has looked at it. :)

I like it. Any chance we can at least get some ultra-simple
justification in pango 1.4?

I'm sure you know this, but I noticed that it seems to
calculate the width of something incorrectly for Arabic (or
maybe for anything other than Latin).


On Sun, Apr 27, 2003 at  1:37:56 +0100, Damon Chaplin wrote:
> Hi,
> I've put a demo of my TeX-like hyphenation & justification code up at:
> You need to apply a small patch to Pango (1.2.1) to try it out. See the
> I don't think it will be ready for Pango 1.4 as there's still a lot to
> do, but it might be nice to get a few changes to GLib & PangoLayout in
> so we can plug-in external layout code, as the demo does.
> Stuff needed for usable H & J:
>  o Finish hyphenation - support ligatures, convert existing pattern
>    files to UTF-8, support exceptions.
>  o Character/cluster spacing.
>  o Support kashidas.
>  o Handle ligatures when breaking lines.
>  o Handle soft hyphen characters (hide them if we don't break).
>  o Strip kerning off characters at breaks.
>  o Fix cursor positioning. There are problems around hyphens.
>  o Support tabs.
>  o Optimize memory use.
> That doesn't include all the other stuff like kerning & tracking I want
> to do as well.
> Anyway, comments welcome.
> Damon

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