Open GoogleCodeExporter opened 9 years ago
Original comment by narendra.sisodiya
on 9 Sep 2009 at 9:20
Not sure how we could read in a OpenType font in the browser. More info is
probably
needed.
Either way, this is most likely not going to get done for Bicorn (2.5)
Original comment by codedr...@gmail.com
on 19 Feb 2010 at 2:18
I have been able to use ttf and opentype fonts this way. (src - try local & url)
<li style="font-family:Book Antiqua src: local("fonts/ANTQUAB.TTF")
format("truetype");">Book Antiqua</li>
<li style="font-family:Stencil src: url("fonts/STENCIL.TTF")
format("truetype");">Stencil</li>
<li style="font-family:Gill Sans MT src: url("fonts/GIL_____.TTF")
format("opentype");">Gill Sans MT</li>
<li style="font-family:Goudy Old Style src: url("fonts/GOUDOSB.TTF")
format("opentype");">Goudy Old Style</li>
Original comment by dezigns...@gmail.com
on 8 Apr 2010 at 9:43
The only issue with adding fonts is that it only works with firefox 3.5+
Yes, IE has supported it since IE5, but since firefox and chrome didn't support
it until later, I don't know if it belongs here.
I am, however working on implementing a plugin for this. Google just releases
their Font Loader API and I have made a basic font picker demo:
http://clintberry.com/demos/google-fonts/selector.html
I'll post when I get something integrated into svg-edit.
Original comment by cbb11111...@gmail.com
on 14 Jul 2010 at 2:28
I put together a proof of concept for this plugin here:
http://clintberry.com/demos/svg-edit-with-fonts/
Add some text and change the font. It replaced the old dropdown with a new one
that loads custom fonts. It has some bugs still, but mostly works.
Original comment by cbb11111...@gmail.com
on 14 Jul 2010 at 5:11
clint.berry - just got a chance to look at it and it looks pretty cool! Are
you thinking about contributing this to the project? If you can generate a
patch and attach to this issue, perhaps someone can investigate your code and
see if it's integratable.
Original comment by codedr...@gmail.com
on 21 Jul 2010 at 4:53
I would love to contribute this, and I would love to contribute to the project
in general. I am not sure this fits into the core of the product, but if you
think it fits into the main application, then I am okay with it. I need to fix
some style issues and then I will post the patch this weekend.
Original comment by cbb11111...@gmail.com
on 22 Jul 2010 at 5:00
I have put my code for the custom font-loader on my github site. I know it had
a few downloads from my website, but there wasn't enough documentation to
install it easily. I have put all installation details in the README file. You
can get it here:
http://github.com/clintberry/svg-font-loader
Original comment by cbb11111...@gmail.com
on 27 Nov 2010 at 6:26
Related links:
http://groups.google.com/group/svg-edit/browse_thread/thread/6d4890a3b988162c
http://code.google.com/p/svg-edit/issues/detail?id=872
http://code.google.com/p/svg-edit/issues/detail?id=633
Original comment by marclaporte
on 5 Jan 2012 at 6:47
Original issue reported on code.google.com by
narendra.sisodiya
on 9 Sep 2009 at 5:23