What is the best way to obtain crisp text on export

Post questions on how to use or achieve an effect in Inkscape.
User avatar
capnhud
Posts: 435
Joined: Mon Jun 04, 2007 8:30 pm
Location: U.S.A

What is the best way to obtain crisp text on export

Postby capnhud » Wed May 19, 2010 12:16 am

I have tried aligning text (14-20px size) to half pixel and whole pixel grid coordinates and still when I export the text or text path it comes out blurry. I turned off bitmap oversampling and still it persist.

Has anyone come up with at way to overcome this limitation?

User avatar
heathenx
Posts: 388
Joined: Thu Jun 07, 2007 11:51 pm
Location: USA
Contact:

Re: What is the best way to obtain crisp text on export

Postby heathenx » Wed May 19, 2010 1:01 am

Pixel Snap, perhaps?

User avatar
capnhud
Posts: 435
Joined: Mon Jun 04, 2007 8:30 pm
Location: U.S.A

Re: What is the best way to obtain crisp text on export

Postby capnhud » Wed May 19, 2010 2:03 am

The author of that plugin says it does not work on text. So I figured there must be another way

User avatar
heathenx
Posts: 388
Joined: Thu Jun 07, 2007 11:51 pm
Location: USA
Contact:

Re: What is the best way to obtain crisp text on export

Postby heathenx » Wed May 19, 2010 4:27 am

You have to convert your text to a path first.

User avatar
capnhud
Posts: 435
Joined: Mon Jun 04, 2007 8:30 pm
Location: U.S.A

Re: What is the best way to obtain crisp text on export

Postby capnhud » Wed May 19, 2010 5:00 am

I first tried as text it did not work (as expected since it was not a path).

Then I converted it to a path and got the following error:
Selection contains non-symetric scaling
Selection contains non-symetric scaling


So then I broke apart and did a union and got the same error.

User avatar
heathenx
Posts: 388
Joined: Thu Jun 07, 2007 11:51 pm
Location: USA
Contact:

Re: What is the best way to obtain crisp text on export

Postby heathenx » Wed May 19, 2010 5:06 am

I'm all out of ideas. :|

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

Re: What is the best way to obtain crisp text on export

Postby prkos » Wed May 19, 2010 5:25 am

Only the horizontal and vertical lines that lay on the correct grid should come out crisp. If you have any in-between lines it won't work. Can you post a screenshot?
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
heathenx
Posts: 388
Joined: Thu Jun 07, 2007 11:51 pm
Location: USA
Contact:

Re: What is the best way to obtain crisp text on export

Postby heathenx » Wed May 19, 2010 5:56 am

Alright, I just tested and confirmed that it worked. This is a real rinky-dink way to tackle it but it's a workaround. If you can import your svg into Scribus then you can replace the Inkscape text with Scribus text and save out as PNG. Text is nice and crisp. Again, not brilliant but it works if you need to get your artwork finished. :oops:

User avatar
capnhud
Posts: 435
Joined: Mon Jun 04, 2007 8:30 pm
Location: U.S.A

Re: What is the best way to obtain crisp text on export

Postby capnhud » Wed May 19, 2010 6:38 am

Your the man heathenx: this may be dinky but it works. How did you make the png maintain transparency?

Nvrmind I figured it out. Thanks once again for the suggestion

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

Re: What is the best way to obtain crisp text on export

Postby RobA » Thu May 20, 2010 11:51 am

heathenx wrote:Alright, I just tested and confirmed that it worked. This is a real rinky-dink way to tackle it but it's a workaround. If you can import your svg into Scribus then you can replace the Inkscape text with Scribus text and save out as PNG. Text is nice and crisp. Again, not brilliant but it works if you need to get your artwork finished. :oops:


So scribus text exports clearer then inkscape text exports?

-Rob A>

Slow Dog
Posts: 180
Joined: Wed Sep 24, 2008 7:51 pm

Re: What is the best way to obtain crisp text on export

Postby Slow Dog » Fri May 21, 2010 1:43 am

ffaat wrote:So scribus text exports clearer then inkscape text exports?

See this:
http://www.codinghorror.com/blog/2007/06/font-rendering-respecting-the-pixel-grid.html

I don't think Inkscape makes any attempt to align text with the pixel grid, which the article describes as the Apple philosophy. When you're assuming infinite rescalability, you don't know where there pixel grid will be, so ignore it.

Scribus probably does respect the grid; or, more probably, uses the operating system text renderer which (on a windows machine) places/sizes text on the pixel grid so it's clearer, but at the cost of inaccurate placement. If that's the case (and I haven't tested it) you could achieve the same with Word, for instance.


Return to “Help with using Inkscape”