View Single Post
Old 01-29-2021, 05:24 AM   #3233
pazos
cosiņeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,406
Karma: 2451781
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by jberd View Post
What controls the dictionary font?
I played around with frontend/ui/font.lua to use more serif fonts,
and the dictionary popup was using serif fonts. Then I downloaded
the gcide dictionary, and that pops up with a sans-serif font (while
the other dictionary still uses serif). I poked around looking for
something to control the font, with no luck. (The gcide dictionary
uses some html-style markup while my older dictionary doesn't, but
I didn't find any font directives in gcide.)
Is there a way to have the dictionaries all use a serif font?

Thanks, Jay
It's the "font size" setting under "Dictionary settings". Some dicts can have different font faces in their css, and that can make them look bigger or smaller.

Default css code is in https://github.com/koreader/koreader....lua#L739-L754
Attached Thumbnails
Click image for larger version

Name:	2021-01-29_11-18.png
Views:	175
Size:	33.4 KB
ID:	185074  

Last edited by pazos; 01-29-2021 at 05:27 AM.
pazos is offline   Reply With Quote