View Single Post
Old 03-31-2025, 11:57 AM   #976
Tmpclara
Junior Member
Tmpclara began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2025
Device: Kobo Clara BW
Thanks for the links to the documentation on CSS files.

I'm trying unsuccessfully to display the Noto Sans font in Medium.

What I tried :
- download the font with medium weight in the font folder
https://fonts.google.com/noto/specimen/Noto+Sans
font-path = "/mnt/onboard/.adds/plato/fonts" => Settings.toml

- copy css/epub.css to css/epub-user.css
add font-weight: medium;

Code:
h4, p, blockquote, dl {
	margin: 1.12em 0;
	font-weight: medium;

}

with "font-weight: bold;" it works, but with medium or 500, it doesn't work.

Do you have any tips for slightly increasing the weight of Noto Sans please?

Thank you for your help
Tmpclara is offline   Reply With Quote