Font issue, "validity SVG" with multiline text

Post questions on how to use or achieve an effect in Inkscape.
tickl
Posts: 3
Joined: Sat Oct 04, 2014 8:30 pm

Font issue, "validity SVG" with multiline text

Postby tickl » Thu Dec 11, 2014 9:39 pm

Hello,

I use multiline text with Times New Roman but get only black rectangle, by import the SVG in Open/Libre Office.
BUT Single-line text is working!
Image

Validating the SVG with http://tools.wmflabs.org/svgcheck/index.php says:

Code: Select all

"Starting to debug...
Line 160: *Warning* You appear to have specified a font that does not exist on Wikimedia wikis.
Line 160: *Warning* You should define a fallback font type, which should not be placed in quote marks and should be in lower case.
   Allowable types are serif, sans-serif, cursive, fantasy and monospace.
Line 169: *Warning* You appear to have specified a font that does not exist on Wikimedia wikis.
Line 169: *Warning* You should define a fallback font type, which should not be placed in quote marks and should be in lower case. ..."

and I get the same black rectangle, but again only by multiline text, single-line text is ok.
Is this still this Windows issue? viewtopic.php?f=5&t=13232

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Font issue, "validity SVG" with multiline text

Postby brynn » Thu Dec 11, 2014 11:54 pm

By "multiline text" I'm thinking you mean flowed text, which doesn't play well with others. For any use outside of Inkscape, it should not be used. Instead, you should use regular text. (Flowed text is created when you click and drag out a box with the Text tool, and then type inside of it. For regular text, just click once and start typing. You can use the Return key....oh, I guess it's not called that anymore (my age must be showing!). You can use Enter key to start a new line of text, without creating a new text object.) You can change existing flowed to text to regular using Text menu > Convert to Text.

If flowed text isn't the issue (while selected, check status bar to find out), we may need more info to sort out the problem. Or just the SVG file would be best.

That Windows issue has long been fixed, and the topic needs to be removed from the "sticky" area.

tickl
Posts: 3
Joined: Sat Oct 04, 2014 8:30 pm

Re: Font issue, "validity SVG" with multiline text

Postby tickl » Fri Dec 12, 2014 1:12 am

brynn wrote:By "multiline text" I'm thinking you mean flowed text, which doesn't play well with others. For any use outside of Inkscape, it should not be used. Instead, you should use regular text. ...

Yes I used "Justy flowed text". But does that mean justification formatting cant be used?
Example (attached SVG file below)
Image

svgcheck at wmflabs.org says now "*ERROR* Flow element found":

Code: Select all

Starting to debug...
...
Line  78: *ERROR* Flow element found.
    These will not render properly.
    If you're not actually trying to bend the text, try opening with a text editor and removing the elements.
    If you are actually trying to bend it, use 'Convert to path' (Inkscape) or similar.

Thanks
Attachments
flowed-text-Times_inkscapeSVG2.svg
(3.84 KiB) Downloaded 208 times

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Font issue, "validity SVG" with multiline text

Postby tylerdurden » Fri Dec 12, 2014 2:23 am

After you flow and justify, you can convert to standard text for compatibility outside of Inkscape.

Image
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

tickl
Posts: 3
Joined: Sat Oct 04, 2014 8:30 pm

Re: Font issue, "validity SVG" with multiline text

Postby tickl » Fri Dec 12, 2014 3:20 am

tylerdurden wrote:After you flow and justify, you can convert to standard text for compatibility outside of Inkscape.


Ok, the text appears after that in Libre Office, but it loses the justification. Do I have to take care about something else?
Image

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Font issue, "validity SVG" with multiline text

Postby tylerdurden » Fri Dec 12, 2014 10:37 am

If no further text editing is required, you can simply convert text to paths: Menu: Path> Object to paths.

To retain text editing, duplicate and hide a copy of the text objects before conversion to paths, or save a copy of the entire document before conversion.
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/


Return to “Help with using Inkscape”