TeX-like H&J demo
- From: Damon Chaplin <damon karuna uklinux net>
- To: gtk-i18n-list gnome org
- Subject: TeX-like H&J demo
- Date: 27 Apr 2003 01:37:56 +0100
Hi,
I've put a demo of my TeX-like hyphenation & justification code up at:
http://www.gtk.org/~damon/pangoxt-0.1.0.tar.gz
You need to apply a small patch to Pango (1.2.1) to try it out. See the
README.
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]