View Single Post
Old 12-11-2022, 09:15 AM   #25
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by Doitsu View Post
Unless it's a font issue, the problem is definitely caused by the code and you're only providing piecemeal information. For example, you've only provided the paragraph style, however, the appearance of the paragraphs is also controlled by the viewportContainer, versoContainer and sectionContainer classes, which are missing. Moreover, you're using ems instead of pixels, contrary to the Apple Books Asset Guide recommendations.
Yep.

If you use ems, and not pixels, for font sizing, in fixed-layout--this sort of thing can definitely occur. Ems are not fixed-layout spacing, as we all know.

When you use pixels, you offset the placement of each and every word--every one--for fixed-layout. Which is one of the reasons that I made the comments that I did, in the first place.

Each word's div is set in pix. (e.g., width:415px;height:200px). Then the absolute position is set for that same word. And set the letter spacing, inside the word. That's how it works. Which isn't done here. As far as I know, without this precise placement, it does not work.

We've used Warnock Pro ourselves and all things being equal and assuming the font came from the usual sources, licensed, etc. I don't know of any problems with it.

Hitch
Hitch is offline   Reply With Quote