8

I am using GeoGebra to render geometric figures. Really nice software but it seems the text font cannot be changed in it.

I know I can change font of text using inkscape by individually selecting all the text-boxes but I was wondering if there is way to change the font of all the text at once.

  • 1
    CTRL+A then click Text > Text and Font, select a font. Hit Apply. – Billy Kerr Nov 24 '17 at 20:33
  • It does not work. I am guessing it's a little bit different with an SVG image... – Finch Nov 24 '17 at 23:22
  • It won't work if the text has been converted to outlines. The text will not be editable. – Billy Kerr Nov 24 '17 at 23:34
2

In recent versions of Inkscape there is an extension called "Replace font" which can list all the used fonts in the document, find & replace specific fonts, or replace all the fonts in the document or current selection.

To use the tool, navigate to Extensions -> Text -> Replace Font. Inkscape List all fonts tab

On the "List all fonts" tab, if you click "Apply", you'll be presented with a list of all fonts used: Inkscape List of all fonts dialog

There are also tabs for "Replace font" and for "Find and Replace font". Inkscape Find and Replace font

Note that to use these tools I believe you must copy / paste from the list of all fonts; there is no dialog. Also note that the tools can be applied to the entire drawing or just the current selection by changing the "Work on:" selection at the bottom of each tab.

| improve this answer | |
  • A very nice feature of Inkscape. Sad that the Find font field does not offer the installed fonts as options. Anyway, copy-paste from List all fonts is not a tragedy. ;) – loved.by.Jesus Sep 29 at 9:17
5

This question is a little old, but this might help others...

I noticed that inkscape changes the font sizes along with the font type, so if you want to replace the font for things even if the are different sizes, it will change all the text to one size.

I found a workaround for this though. Since SVG is just a XML document, you can open it notepad, search for the font names, and replace with the desired font names. Of course, this will be a headache if you have more than one font names that you are replacing, but maybe it is less of a headache than fixing the font sizes. I was able to do it with one of my SVGs now, and it worked like a charm.

| improve this answer | |
1

When exporting from Geogebra, you have to deactivate "export text as shapes":

enter image description here

Then you can select one Text in Inkscape (Ctrl+LeftMouseBtn to avoid ungrouping), select all of the same kind (Shift+Alt+A) and click the text tool, to change all texts at once.

| improve this answer | |
  • 1
    Ctrl+Alt+A is for 'select all in all layers', not 'select same'. 'Select same object type' is 'Shift+Alt+A'. See also inkscape.org/en/doc/keys092.html#idm1363 and the keyboard config in Inkscape's preferences. – Moini May 27 '18 at 1:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.