Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle

Notices

Reply
 
Thread Tools Search this Thread
Old 05-09-2023, 11:49 AM   #1
Spiral
Junior Member
Spiral began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Apr 2023
Device: kindle
How can I use custom fonts while not embeding them?

I want to use custom fonts by put them in the "font/" directory in kindle and not embeding them.
So I firstly write an epub3 book and transform it into azw3 to read in kindle. So I defined
Code:
@font-face { font-family:"songti"; src:
local("LXGW Wenkai Screen R"),
local("STSong");}
in my .css file and use the font in tags of xhtml.
The built-in font, "STSong", is used in a fallback way, which means the custom font "LXGW Wenkai Screen R" is not working correctly.

I think there are two possible reasons for fail:
  1. The font name is not correct
  2. I can not use the custom font the same way as use the built-in fonts, instead I have to use url to access the custom font in "fonts" directory.

Is it possible to achieve my goal? Any help is warmly welcomed!
Spiral is offline   Reply With Quote
Old 05-11-2023, 11:00 AM   #2
BookCat
C L J
BookCat ought to be getting tired of karma fortunes by now.BookCat ought to be getting tired of karma fortunes by now.BookCat ought to be getting tired of karma fortunes by now.BookCat ought to be getting tired of karma fortunes by now.BookCat ought to be getting tired of karma fortunes by now.BookCat ought to be getting tired of karma fortunes by now.BookCat ought to be getting tired of karma fortunes by now.BookCat ought to be getting tired of karma fortunes by now.BookCat ought to be getting tired of karma fortunes by now.BookCat ought to be getting tired of karma fortunes by now.BookCat ought to be getting tired of karma fortunes by now.
 
BookCat's Avatar
 
Posts: 2,912
Karma: 21115458
Join Date: Dec 2008
Location: Birmingham UK
Device: Sony e-reader 505, Kindle PW2, Kindle PW3, Kobo Libra2
I think you might be over-complicating the issue. Here's what I do.
Select a font from one of the free font sites. Make sure you get all four versions of it:
Regular, Italic, Bold, Bold Italic.
Put these into the font file on your kindle.
Then any books which are in azw3 will enable you to select this font. The reason for having all four types is for instances when a book uses italic etc font in a passage or word.
BookCat is offline   Reply With Quote
Advert
Reply

Tags
custom fonts, epub, kindle


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hacks Custom fonts as System fonts? font332 Amazon Kindle 2 07-18-2019 11:54 PM
PRS-T3 T3 fonts & custom fonts Phil_C Sony Reader Dev Corner 5 12-22-2013 02:34 PM
Touch Fonts question (special characters in stock and custom fonts) levil Kobo Reader 20 09-23-2011 01:51 PM
embeding fonts to epubs in Calibre - automated process gulo Calibre 3 01-27-2010 01:23 PM
Embeding font into LRF nas_matko Calibre 28 09-21-2009 09:47 AM


All times are GMT -4. The time now is 09:34 PM.


MobileRead.com is a privately owned, operated and funded community.