Thread: verifying html
View Single Post
Old 08-30-2010, 08:46 AM   #21
pholy
Booklegger
pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.
 
pholy's Avatar
 
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
Quote:
Originally Posted by charleski View Post
What is unacceptable is generating an 'italic' from a roman font simply by shifting its axis 30°. Luckily ADE refuses to inflict this sort of carnage. Italic is not 'rendered', it's a completely different font and therefore needs to have a separate font defined in the css.
Oh, yes, I forgot to make this clear; the hand-me-down font was rendered unchanged, exactly as it was before, only the fall-back font version was rendered as italic. Which was, I think, pretty much what Jane wanted.

As I recall, Jane was using a cursive font in some places, and wanted a fall-back to show up as italic to distinguish it from the rest of the text. I was using the hand-me-down because I had it handy, and I wanted to see if parens in the font name caused a problem (they don't).

Setting the font-style of a cursive font to italic is not so far-fetched, and then setting the font-style in the class definition would be required (I think) to use that font-face. I haven't dug into CSS enough yet to know for sure, though.

I'm guessing that font engines must know how to apply styles and weights to their generic fonts, because we can't supply @font-face definitions to them anyway.

Jane, does this help any?
pholy is offline   Reply With Quote