View Single Post
Old 02-24-2022, 12:03 AM   #11
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Hi,

I'm using Pocketbook HD2 and I'm trying to reference a font installed on my device in my css file. However, it's not quite working. Here is what I'm using.


Quote:

@font-face {font-family: "Georgia" ; font-weight: normal; font-style: normal; src: url(res:///mnt/ext1/system/fonts/georgia.ttf);}
@font-face {font-family: "Georgia" ; font-weight: bold; font-style: normal; src: url(res:///mnt/ext1/system/fonts/georgiab.ttf);}
@font-face {font-family: "Georgia" ; font-weight: normal; font-style: italic; src:url(res:///mnt/ext1/system/fonts/georgiai.ttf);}
@font-face {font-family: "Georgia" ; font-weight: bold; font-style: italic; src: url(res:///mnt/ext1/system/fonts/georgiaz.ttf);}
font-family: "Georgia" , serif;

I'm afraid that maybe ///mnt/ext1/system/fonts is no longer a valid path to the fonts file. Or maybe I should add the fonts to my SD card instead? However, I'm not sure how to find the valid path to that directory either.

I'd appreciate any and all help.

Thanks,
Amalthia
Amalthia is offline   Reply With Quote