View Single Post
Old 03-15-2011, 06:19 AM   #20
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
Quote:
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?
In short: yes.

In details: font rendering engine knows how to make it "bold" or "italic" having only "normal" font. But humans could produce better "bold" fonts than some silly scripts, so for some fonts "manually" created bold/italic/etc version is also supplied. If bold/italic/etc version of the font is missing, system will fall back to the first option, it will generate it (on the fly).
kartu is offline   Reply With Quote