Mobileread
png or text?
#1  lumpynose 05-24-2019, 12:22 PM
The inside title page for a book I'm working on has an image at the top of the page that's 4 letters in all caps. It's in a grungy font. The image is 778 x 234 pixels. I found a similar font and to make it the same size it's 8em.

I'm guessing that it would be better to use text instead of the png since the text will always scale nicely?
Reply 

#2  j.p.s 05-24-2019, 12:55 PM
Quote lumpynose
The inside title page for a book I'm working on has an image at the top of the page that's 4 letters in all caps. It's in a grungy font. The image is 778 x 234 pixels. I found a similar font and to make it the same size it's 8em.

I'm guessing that it would be better to use text instead of the png since the text will always scale nicely?
A lot of commercial (and otherwise) books use a sometimes poor scan of the title page. If that is set to fill the screen it is reasonable enough.

But I do think text would be preferable. If the font is reasonably close, I don't see that it would be objectionable.
Reply 

#3  Doitsu 05-24-2019, 01:03 PM
You could also convert text to an SVG image with Inkscape following GrannyGrump's very detailed tutorial.

Alternatively, you could even reference an embedded font in an .svg image. Note that my test file won't display correctly with Sigil, but it'll display fine with ADE 2.0.1 and higher. (I've attached an ADE 2.0.1 screen shot.)
ADE_2.0.1.png 
Reply 

#4  Turtle91 05-24-2019, 02:56 PM
Quote Doitsu
You could also convert text to an SVG image with Inkscape following GrannyGrump's very detailed tutorial.

Alternatively, you could even reference an embedded font in an .svg image. Note that my test file won't display correctly with Sigil, but it'll display fine with ADE 2.0.1 and higher. (I've attached an ADE 2.0.1 screen shot.)
Just wondering - What benefit does an SVG image of title/text have over the text itself?
Reply 

#5  lumpynose 05-24-2019, 04:06 PM
I assumed that Doitsu was thinking of the more general case of oddball text that wouldn't display properly.
Reply 

#6  dwig 05-24-2019, 08:46 PM
Quote Turtle91
Just wondering - What benefit does an SVG image of title/text have over the text itself?
Though it does require a format and reader app that supports SVG, not all do. JPEGs are the most universal.
Reply 

#7  lumpynose 05-24-2019, 08:57 PM
Quote dwig
Though it does require a format and reader app that supports SVG, not all do. JPEGs are the most universal.
The first is definitely true due to the grunge effect adding lots of lines to the letters. The font after converting to opentype is 7.8 meg, the truetype is 1 meg. So I'll need to get rid of the glyphs I'm not using. And maybe research how to make smaller opentype files with FontForge. The license.txt file says "This font is free for both personal and commercial use" with no mention of any limits or devices. It's FFF Tusj Bold.
Reply 

#8  Doitsu 05-25-2019, 12:23 AM
Quote lumpynose
So I'll need to get rid of the glyphs I'm not using.
You could use Calibre Polish or my SubsetFonts Sigil plugin to subset fonts. (Obviously, you'll also need to create a test book that contains only the characters that you need and then transfer the subset font to the actual book.)
Reply 

#9  lumpynose 05-25-2019, 12:25 AM
Quote Doitsu
You could use Calibre Polish or my SubsetFonts Sigil plugin to subset fonts. (Obviously, you'll also need to create a test book that contains only the characters that you need and then transfer the subset font to the actual book.)
Ok, great; thanks. I'll definitely give that a shot.
Reply 

Today's Posts | Search this Thread | Login | Register