|
|
#1 |
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 62
Karma: 36180
Join Date: Dec 2011
Location: US East Coast
Device: Kobo Aura HD, Kindle 4, Sony PRS-T1 (formerly PRS-500 & 505), iPad Air
|
Linux Libertine font woes
I use Morkl's hacked reader app, with custom fonts and css style.
I've been experimenting with different fonts, and come across this vexing problem: Linux Libertine font displays regular normal-weight text as bold. I've tried otf, ttf, saving css as utf-8, ansi, ... anything that I could think of, to no avail. The font files are fine when I check them on PC. And all the other fonts that I've tried so far displays the same normal-weight text in the correct normal-weight font. Below are my css codes... If there's anyone who's successfully using the Linux Libertine font on T1, please share your thoughts. Code:
@font-face{ font-family: serif; font-style:normal; font-weight:normal; src: url(res:///ebook/fonts/../../mnt/sdcard/reader/fonts/LinLibertine_R.otf);}
@font-face{ font-family: serif; font-style:italic; font-weight:normal; src: url(res:///ebook/fonts/../../mnt/sdcard/reader/fonts/LinLibertine_RI.otf);}
@font-face{ font-family: serif; font-style:normal; font-weight:bold; src: url(res:///ebook/fonts/../../mnt/sdcard/reader/fonts/LinLibertine_RB.otf);}
@font-face{ font-family: serif; font-style:italic; font-weight:bold; src: url(res:///ebook/fonts/../../mnt/sdcard/reader/fonts/LinLibertine_RBI.otf);}
@font-face{ font-family: sans-serif; font-style:normal; font-weight:normal; src: url(res:///ebook/fonts/../../mnt/sdcard/reader/fonts/LinBiolinum_R.otf);}
@font-face{ font-family: sans-serif; font-style:italic; font-weight:normal; src: url(res:///ebook/fonts/../../mnt/sdcard/reader/fonts/LinBiolinum_RI.otf);}
@font-face{ font-family: sans-serif; font-style:normal; font-weight:bold; src: url(res:///ebook/fonts/../../mnt/sdcard/reader/fonts/LinBiolinum_RB.otf);}
@font-face{ font-family: sans-serif; font-style:italic; font-weight:bold; src: url(res:///ebook/fonts/../../mnt/sdcard/reader/fonts/LinBiolinum_RB.otf);}
|
|
|
|
|
|
#2 |
|
Booklegger
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,801
Karma: 7999816
Join Date: Jun 2009
Location: Toronto, Ontario, Canada
Device: BeBook(1 & 2010), PEZ, PRS-505, Kobo BT, PRS-T1, Playbook, Kobo Touch
|
I saw something similar that was cleared up by removing the font-family part of your @font-face statements. It wasn't exactly the same case, but worth a try, I think.
|
|
|
|
| Advert | |
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Author: Last Name First Woes | Stewart Grove | Library Management | 8 | 01-07-2012 01:07 PM |
| PRS-505 Battery Woes | MickeyC | Sony Reader | 11 | 07-31-2011 06:58 PM |
| Linux PC & Font Depth? | Font | Kindle Developer's Corner | 1 | 09-25-2010 10:01 AM |
| Stylus Woes | MelC | Sony Reader | 22 | 02-08-2010 02:16 PM |
| PRS-300 New Computer Woes | Aeiouna | Sony Reader | 1 | 02-08-2010 06:56 AM |