View Single Post
Old 06-12-2014, 10:53 AM   #1
MikeWV
Connoisseur
MikeWV began at the beginning.
 
Posts: 54
Karma: 10
Join Date: Nov 2013
Device: Kobo Touch
How to Control Fonts in SVG Images of Charts and Tables?

I've been trying to no avail to get images of charts and tables to look presentable when scaled so as to accommodate different device display resolutions. Low resolution PNGs (96 ppi) with fixed pixel dimensions look real good on e-ink readers but they don't scale to accommodate higher resolution devices and they're way below the 300 ppi that the vendors want. As I make changes, the images get progressively worse. PNGs at 300 ppi with dimensions set as percent and auto look horrible when scaled well above or below their native size. So I decided to try SVG Images.

The few that I've converted look OK, so I think SVG images may be my best option. Large tables that have so many cells that the numbers are tiny on my Kobo Touch don't look as good as the fixed-pixel PNGs but at least they're legible. The other images look good and they scale well.

My only problem with the SVG images is that the sans serif fonts in my charts and tables get converted to serifed fonts. I started with Calibri in Excel then I tried Arial, but I keep getting what appears to be Times New Roman when the SVG image is displayed. The text displays well but Times New Roman just seems to look old fashioned in tables and charts.

I tried two means of creating SVG images: 1) File/Save As/PDF, open in Inkscape, adjust size to fit image, Save As/Plain SVG, 2) Create the PDF using the Foxit virtual printer then follow the same procedure as #1.

IE 11 is the only program I've tried that displays the text as sans serif. I thought with Arial, other software would at least default to a sans serif font, but that's not happening. And I didn't find any way to set a default font in Inkscape. If anyone can tell me how to control the font displayed in SVG images, I'd be very grateful.

Edit #1

There is a place in Inkscape to view the font that was apparently identified upon importing a PDF. My font is being identified as "sans normal." Although Arial and Calibri are available options, Inkscape is seeing the font or classifying the font as generic sans serif, which would be fine with me if the images were displaying the text as a generic sans serif.

Edit #2

Scratch Edit #1. The Text Tool has no effect on text originally contained in the PDF. It appears that it is intended for use with text that is added to the file after creation.

Last edited by MikeWV; 06-12-2014 at 01:20 PM. Reason: Additional Information
MikeWV is offline   Reply With Quote