Quote:
Originally Posted by charleski
From scanning through libadobe.so it looks like you adopted something similar to my suggestion (or came up with it on your own, it's fairly obvious).
Code:
Normalˇˇ@font-face { font-family: -ua-default; font-style: normal; font-weight: normal; src: url('res:///fonts/normal/%1') }
ˇˇˇ@font-face { font-family: -ua-default; font-style: italic; font-weight: normal; src: url('res:///fonts/italic/%1') }
ˇˇˇBold Italicˇ@font-face { font-family: -ua-default; font-style: italic; font-weight: bold; src: url('res:///fonts/bolditalic/%1') }
ˇBoldˇˇˇˇ@font-face { font-family: -ua-default; font-style: normal; font-weight: bold; src: url('res:///fonts/bold/%1') }
So looking at this, it seems that to get fonts working properly in different styles and weights you need to create the following directories under the fonts folder: normal, italic, bold, bolditalic, and then copy the relevant font files to the correct locations (regular to the normal directory, italic to the italic directory, etc) and that they need to have the same filename in each dir. Is this correct?
I couldn't help noticing a reference to res:///userStyle.css. Does this imply that the default base css can be replaced?
|
No, only use a single directory named fonts