pgaskin / lithiumpatch

Adds additional functionality to the Lithium EPUB Reader Android app.
MIT License
44 stars 2 forks source link

Font cannot be choose if an EPUB is in other language other than english #3

Closed gozilla-paradise closed 5 months ago

gozilla-paradise commented 7 months ago

image

When dc:language is set to other language (eg. th), the font dialog didn't show font list except Original font.

pgaskin commented 6 months ago

Yes, Lithium filters fonts based on their glyphs. It doesn't include Thai iirc, but regardless, I don't think any of the fonts included do.

I can add support for filtering for Thai glyphs, then you'll be able to build a custom APK with your own fonts.

gozilla-paradise commented 6 months ago

Yes, Lithium filters fonts based on their glyphs. It doesn't include Thai iirc, but regardless, I don't think any of the fonts included do.

I can add support for filtering for Thai glyphs, then you'll be able to build a custom APK with your own fonts.

That would be great, thanks in advance! By the way, is it possible to disable page turn animation to make it works better with e-ink device ?

pgaskin commented 5 months ago

@gozilla-paradise I've added support for Thai fonts, and also added two of the most popular ones from Google Fonts.

pgaskin commented 5 months ago

@gozilla-paradise I've also added an option to disable page turn animations.