Han-Wen Nienhuys writes: > * To provide backend routines for Pango_font::text_stencil, which is > suitable for the SVG and GNOME backends. > > My current idea is to wrap PangoFontDescription as SCM and dump that > into the backend. I hope for some input by Jan on this, since I > guess that the GNOME backend already has Pango bindings.
Hadden we niet al over gehad? Ik weet niet heel precies hoe met gnome en pango bindings zit, maar volgens mij zou het zo moeten zijn, dat als je tegen <gnome-canvas-text> item zegt (zie output-gnome.scm) (make <gnome-canvas-text> #text "<lelie-utf8-string>" #font "<pango-font-selectie-naam>" #x .. #y .. ..) dat je zelfde moet krijgen, door pango gerenderd, als wanneer je direct aan pango vraagt. Misschien wil je odd met de hand zelf tegen pango kletsen, maar zolang dat niet hoeft... Als lelie eerst aan pango vraagt alle glyph-posities uit te rekenen, dan doet pango op deze manier wel hetzelfde werk 2x, maar tja. -- Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel