[xmlroff] Support for small caps font variant?

Tony Graham Tony.Graham at MenteithConsulting.com
Tue Feb 5 19:55:34 UTC 2008


On Tue, Feb 05 2008 13:04:53 +0000, debacle at debian.org wrote:
> does xmlroff support small caps? Unfortunately,
> <fo:block font-variant="small-caps">Text</fo:block>
> does not work for me. Neither does it with FOP, btw.

Can you add a ticket about this so the issue isn't lost?

xmlroff was not doing the right mapping to Pango font variant, but it
appears that Pango hasn't implemented small caps anyway [1].

I also haven't seen that it's even possible to select small caps using
fontconfig, nor can I find anything about font variants in the Cairo API
docs [2].

I will check-in the xmlroff changes once I confirm they are correct, but
small caps won't work until the underlying libraries support it.

Regards,


Tony.

[1] http://mail.gnome.org/archives/gtk-i18n-list/2006-June/msg00005.html
[2] http://www.cairographics.org/manual/cairo-Text.html


More information about the xmlroff-list mailing list