SVG Fonts

View: New views
3 Messages — Rating Filter:   Alert me  

SVG Fonts

by GailC :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm helping someone work on an implementation for SVG Fonts for Inkscape and have a question I'm hoping you might be able to help with.

Suppose I want to use PangoLayout to lay out a string of text as per normal, but that I don't have the font actually on my system.  Instead, I have an SVG Font, which essentially amounts to having SVG paths for the glyphs required.  Is there a way to "fake" the needed Pango font to get the correct layout from a string of text, using the information available from the glyphs provided? Or is there no way around using some font already on the system?

Thank you kindly,
Gail

_______________________________________________
gtk-i18n-list mailing list
gtk-i18n-list@...
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list

Re: SVG Fonts

by Behdad Esfahbod-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 2008-05-20 at 12:17 -0400, Gail Carmichael wrote:

> I'm helping someone work on an implementation for SVG Fonts for
> Inkscape and have a question I'm hoping you might be able to help
> with.
>
> Suppose I want to use PangoLayout to lay out a string of text as per
> normal, but that I don't have the font actually on my system.
> Instead, I have an SVG Font, which essentially amounts to having SVG
> paths for the glyphs required.  Is there a way to "fake" the needed
> Pango font to get the correct layout from a string of text, using the
> information available from the glyphs provided? Or is there no way
> around using some font already on the system?

Not right now.

First step to get there is for someone to write a cairo user-font
wrapper for SVG fonts.  Then to wait until this bug is fixed:

  http://bugzilla.gnome.org/show_bug.cgi?id=347237

I already explained this on inkscape devel list last week.


> Thank you kindly,
> Gail

--
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759

_______________________________________________
gtk-i18n-list mailing list
gtk-i18n-list@...
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list

Re: SVG Fonts

by GailC :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, May 20, 2008 at 12:28 PM, Behdad Esfahbod <behdad@...> wrote:
I already explained this on inkscape devel list last week.

Yes, you're right - sorry about that.  I'll have another look at the archives.

Gail

_______________________________________________
gtk-i18n-list mailing list
gtk-i18n-list@...
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list
LightInTheBox - Buy quality products at wholesale price