View Single Post
Old 03-15-2011, 06:06 AM   #19
EatingPie
Blueberry!
EatingPie puts his or her pants on both legs at a time.EatingPie puts his or her pants on both legs at a time.EatingPie puts his or her pants on both legs at a time.EatingPie puts his or her pants on both legs at a time.EatingPie puts his or her pants on both legs at a time.EatingPie puts his or her pants on both legs at a time.EatingPie puts his or her pants on both legs at a time.EatingPie puts his or her pants on both legs at a time.EatingPie puts his or her pants on both legs at a time.EatingPie puts his or her pants on both legs at a time.EatingPie puts his or her pants on both legs at a time.
 
EatingPie's Avatar
 
Posts: 888
Karma: 133343
Join Date: Mar 2007
Device: Sony PRS-500 (RIP); PRS-600 (Good Riddance); PRS-505; PRS-650; PRS-350
Quote:
Originally Posted by kartu View Post
One can reference built-in LRF fonts with the following CSS:

Code:
@font-face
{
	font-family: sans-serif;
	src:url(res:///opt/sony/ebook/FONT/tt0003m_.ttf);
}
@font-face
{
	font-family: serif;
	src:url(res:///opt/sony/ebook/FONT/tt0011m_.ttf);
}
@font-face
{
	font-family: monospace;
	src:url(res:///opt/sony/ebook/FONT/tt0419m_.ttf);
}
(regardless if PRS+ is installed or not )
Quote:
Originally Posted by JSWolf View Post
The other day I found my 500 Bitstream Fonts CD. So I could reference those fonts and just add in the italic, bold, & bold italic. I may give it a try and see how it looks.
Which begs the question for us not-exactly-newbs-but-not-afraid-to-ask-anyway types... ...

Do you have to specify the italic/bold variants?

In other words, if you don't specify font-weight/font-style, does that mean the bold/italic variants are all correctly referenced with the code above? Or more specifically...

Code:
<body font="serif">
Normal text and <i>italic text</i> and etc.
</body>
Will this snippet work and produce serif italicized even though we never specified a font-style variant?

If I could think of a 4th way to ask the same question, I would... So watch it!!

-Pie
EatingPie is offline   Reply With Quote