Inkscape.org
Beginners' Questions Font size change?
  1. #1
    Cartoholic Cartoholic @Cartoholic

    I have several old Inkscape files which were set up years ago using 5.6pt text.  These still display OK on screen, but the text size value shows in all cases as increased to 9.68pt, which it clearly is not.  What's going on, and can I correct it? The files will eventually be part of a publication and I do not want to suddenly find the text appearing at the wrong size.

  2. #2
    Tyler Durden Tyler Durden @TylerDurden

    Can you share an old Inkscape file (legacy file before opening/changing in the current version)?

  3. #3
    Cartoholic Cartoholic @Cartoholic

    I cannot see a method of attaching an svg file to my reply - am I missing something obvious?

  4. #4
    Tyler Durden Tyler Durden @TylerDurden

    There is a paperclip button at the lower-left of the reply area.

  5. #5
    Cartoholic Cartoholic @Cartoholic
    *

    Thank you - I must be blind!

    A large part of the attached file has been scrubbed leaving a typical portion with most of the text at 5.60/9.68pt as described.

     

    Fazeley
  6. #6
    Tyler Durden Tyler Durden @TylerDurden

    We'll save that one for later...  an original file that has not been saved recently would be more useful for testing.

    The issue is probably related to the SVG scale changing from 90 to 96 ppi. When opening an older file you may see a notification that offers a choice of rescaling options.

    I'm not sure if any option will resolve the issue, so I was interested in testing.

    There are also a couple of extensions that can rescale, that may be useful.

    In either case, it remains to be seen if text scales properly, and if not, how to best resolve the issue.

  7. #7
    Cartoholic Cartoholic @Cartoholic

    All the files have been opened in more recent times so none are 'original'

    I have tried a search using font-size: (value) but it does not seem to work either at 5.60 or 9.68

  8. #8
    Tyler Durden Tyler Durden @TylerDurden
    *

    The search for 9.68 won't find anything because text object size is stored in px.

    Inkscape's find/replace can replace all instances of 12.0967 with 6.98247, resulting in the UI reporting 5.59pt for each instance. It does not change the visual size of the text. If that is the goal, you might be fine with that.

    (FWIW, my general preference is to convert all text to paths when saving to pdf, if the text does not need to be searchable. This can ensure a printer will not accidentally use the wrong font.)

     

  9. #9
    Cartoholic Cartoholic @Cartoholic

    A perfect solution for my problem - works a treat.  Now I can find all 'erroneous' text and easily readjust the nominal size in bulk. Thank you!

    Do I need to do anything further to close this off?

  10. #10
    Tyler Durden Tyler Durden @TylerDurden

    We leave topics open, in case someone pops in with a related issue.