New Inkscape Extension: Replace Font

Other sites and resources for Inkscape users.
craigmarshall
Posts: 6
Joined: Mon Aug 16, 2010 8:00 pm

New Inkscape Extension: Replace Font

Postby craigmarshall » Tue Aug 17, 2010 11:13 pm

Hi,

I've just put together another inkscape extension, designed to replace one font with another, drawing-wide, without affecting other styling.

(Updated) More information and an up to date zip file here:

http://code.google.com/p/inkscape-repla ... loads/list

Please test this one too!

Thanks,
Craig
Last edited by craigmarshall on Fri Aug 27, 2010 6:40 pm, edited 1 time in total.

User avatar
prkos
Posts: 1625
Joined: Tue Nov 06, 2007 8:45 am
Location: Croatia

Re: New Inkscape Extension: Replace Font

Postby prkos » Wed Aug 18, 2010 3:41 am

Thank you, this seems very useful!

I tried to download it but the link gives Page not found.
just hand over the chocolate and nobody gets hurt

Inkscape Manual on Floss
Inkscape FAQ
very comprehensive Inkscape guide
Inkscape 0.48 Illustrator's Cookbook - 109 recipes to learn and explore Inkscape - with SVG examples to download

User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Re: New Inkscape Extension: Replace Font

Postby druban » Thu Aug 19, 2010 6:01 am

Page not found :(
Also, will this be different than using control f to find all instances of a font in the document and the text and font dialog to replace them all with a different font?
It's great that you're writing extensions for Inkscape! The GIMP has so many and we have - well, just you (besides the developers, of course).
Your mind is what you think it is.

craigmarshall
Posts: 6
Joined: Mon Aug 16, 2010 8:00 pm

Re: New Inkscape Extension: Replace Font

Postby craigmarshall » Fri Aug 27, 2010 7:03 pm

druban wrote:Page not found :(
Also, will this be different than using control f to find all instances of a font in the document and the text and font dialog to replace them all with a different font?
It's great that you're writing extensions for Inkscape! The GIMP has so many and we have - well, just you (besides the developers, of course).


Hi both,

Sorry for the delay in replying, I've now set my forum defaults up properly (so I should get a reply to any conversation I'm in). :?

I've updated the extension quite a bit, and opened a google code page: http://code.google.com/p/inkscape-replace-font - just click on downloads and you'll get an up to date zip file.

This extension is quite different (and hopefully better) than the CTRL-f, then set font method, for the following reasons:

* You can replace fonts by name, not just replace regardless (though that is an option, too)
* You don't have to manually select text objects (you could miss some or include some by mistake)
* You can list all fonts in the drawing (for reference)
* When you make a change, you don't lose all other formatting (bold, italic, etc.)

However there's a similarity too,

* You can now use a manual selection along with any of the above options, if you choose (find and replace by name, replace regardless, list fonts only)

So - it's really only like the CTRL-f method if you make a selection, then choose the "replace only" tab and "work on selected items only", but even then, you get to keep your existing formatting!

Thanks,
Craig

User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Re: New Inkscape Extension: Replace Font

Postby druban » Fri Aug 27, 2010 7:49 pm

thanks for the explanation, sounds like a good and useful extension!
Your mind is what you think it is.

User avatar
RobA
Posts: 335
Joined: Fri Aug 10, 2007 1:22 am

Re: New Inkscape Extension: Replace Font

Postby RobA » Sat Aug 28, 2010 3:19 am

Thanks for the updates to work on selections..

-Rob A>

User avatar
tomh
Posts: 218
Joined: Sat Feb 14, 2009 10:14 pm

Re: New Inkscape Extension: Replace Font

Postby tomh » Sun Sep 05, 2010 2:08 am

Certainly a time saver, especially if like me you end up with a tons of text objects in splatted across a drawing. Thanks.

wmora2

Re: New Inkscape Extension: Replace Font

Postby wmora2 » Thu Jan 06, 2011 1:30 am

Hi. Thanks for this useful extension. I'm working on mathematical texts (generated with pdflatex), adding "editorial design".
There is a problem in Inkscape: I have the font cmsy10 (lowercase) and I can use it in Inkscape, but when I open each PDF, Inkscape read CMSY10 (uppercase) as the font does not exist for Inkscape, many symbols are lost. Why confuse the font's names?.
Do you know if there is any configuration file where I can change font sustitution, for example change CMSY10 ->cmsy10, before open the PDF? (Iḿ working on Ubuntu 10.10, 64 bits).

Thanks a lot for your time.

rygle
Posts: 16
Joined: Mon Jan 07, 2008 9:18 pm

Re: New Inkscape Extension: Replace Font

Postby rygle » Sat Mar 12, 2011 7:29 pm

@ wmora2 If you are really having trouble and desperate to do this, you can tell it to convert text to paths, though this will increase the complexity and size of the output file quite a lot, but it bypasses any font issues.

User avatar
GAngus
Posts: 83
Joined: Tue Oct 13, 2009 8:41 am
Location: NY

Re: New Inkscape Extension: Replace Font

Postby GAngus » Sun Mar 13, 2011 5:47 am

Wow, that works very nicely.
Thanks so much !!!

bedex78
Posts: 3
Joined: Fri Oct 09, 2009 8:08 pm

Re: Inkscape Ext: Replace Font - Drop Down Menu

Postby bedex78 » Fri May 18, 2012 12:44 pm

This is great stuff! Thank you!

But I was wondering if you could make a drop down menu of fonts in the Find & Replace Fonts form instead of an input field. That way we wouldn't have to manually insert the font names and would make the process more convenient.

Just a suggestion. Cheers! ;)

User avatar
ottadini
Posts: 34
Joined: Thu Sep 24, 2009 4:27 pm
Location: Australia

Re: New Inkscape Extension: Replace Font

Postby ottadini » Sun Jun 10, 2012 10:59 pm

Just to add my thanks!

Oh alright, and one suggestion: as well as font-family, could you add font-size as well?

flies
Posts: 1
Joined: Tue Nov 25, 2014 3:45 am

Re: New Inkscape Extension: Replace Font

Postby flies » Tue Nov 25, 2014 3:53 am

I wanted to thank you for creating this extension. It works like a charm!!

hopefully this will help others solve the problem I was having (hopefully making it visible to search engine web-scrubbers):

if you're getting a missing font in inkscape and you want to replace it, this is the tool for you. For example, you can replace Helvetica with Nimbus Sans L very easily or replace Palatino with Book Antiqua.


Return to “Inkscape Resources”