View Single Post
Old 02-11-2010, 09:13 PM   #5
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,979
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3 and Fire
Quote:
Originally Posted by vidgej View Post
it would be nicer if i could use other bold fonts.
An approach I favor is to redefine serif (and san-serif if you want, but serif is the default) to be your input font. That way there is no need to override the "default" font:

Code:
@font-face {
  font-family: "Constantia", serif, sans-serif;
  font-weight: normal;
  font-style: normal;
  src: url(res:///abook/fonts/CONSTAN.TTF);
}
@font-face {
  font-family: "Constantia", serif, sans-serif;
  font-weight: bold;
  font-style: normal;
  src: url(res:///abook/fonts/CONSTANBD.TTF);
}
@font-face {
  font-family: "Constantia", serif, sans-serif;
  font-weight: normal;
  font-style: italic;
  src: url(res:///abook/fonts/CONSTANI.TTF);
}
@font-face {
  font-family: "Constantia", serif, sans-serif;
  font-weight: bold;
  font-style: italic;
  src: url(res:///abook/fonts/CONSTANBI.TTF);
}

body {
	font-weight: bold;
}
wallcraft is offline   Reply With Quote