View Single Post
Old 12-10-2022, 11:59 PM   #24
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,741
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by AntoniDol View Post
Actually, I cannot, because the problem is not visible in code:
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.

Quote:
Originally Posted by Apple Books Asset Guide 5.2.13
Using Fonts in Fixed Layout Books

Fonts are defined in the opf and CSS just as in Flowing Books. In addition to the font recommendations in Fonts, the following apply to working with fonts in Fixed Layout books:

Use pixels instead of ems for the font-size.

Text placement should be specified in pixels.

Do not use fractional measurements for letter spacing, font size, and text placement. An example of a fractional measurement is 5.255px.

The ideal font-size (in pixels) is ~3% of viewportheight. For example, if <meta name="viewport" content="width=600, height=1000” />, Apple Books recommends the font-size to be 30px (1000 x .03).
Doitsu is offline   Reply With Quote