Difference between revisions of "Book Formatting"

67 bytes removed ,  17:31, 12 April 2006
imported>Ashileedo
(How book formatting works)
 
imported>Ashileedo
Line 48: Line 48:


</nowiki>
</nowiki>
Both attributes can be used in a single <nowiki><FONT></nowiki> tag. The “face” attribute can be either the exact font name as defined in the gamesettings, or a numeric index from 1 to 4 (currently there are 4 fonts, this will probably expand to more). Colors are in the standard HTML format of a 2-byte hex triplet. (Each two characters are a hex number from 00 to FF(256). They are red, green, and blue respectively.) The default font is 1, and the default color is black (or “000000”). The end-tag <nowiki></FONT></nowiki> will revert text to the defaults. Old font names are auto-mapped to new names, but should be changed anyway.
Both attributes can be used in a single <nowiki><FONT></nowiki> tag. The “face” attribute can be either the exact font name as defined in the gamesettings, or a numeric index from 1 to 4. Colors are in the standard HTML format of a 2-byte hex triplet. (Each two characters are a hex number from 00 to FF(256). They are red, green, and blue respectively.) The default font is 1, and the default color is black (or “000000”). The end-tag <nowiki></FONT></nowiki> will revert text to the defaults. Old font names are auto-mapped to new names, but should be changed anyway.
 
Differences: (major) The fonts used in the game are not Windows fonts, so they cannot be seen in HTML. There may be suitable substitute Windows fonts available for some, but there would have to be separate files to permit each environment to see fonts it recognizes. Also, in HTML font tags can be nested and the end-tag only ends the current font.  


Differences: (major) The fonts used in the game are not Windows fonts, so they cannot be seen in HTML. There may be suitable substitute Windows fonts available for some, but there would have to be separate files to permit each environment to see fonts it recognizes. Also, in HTML font tags can be nested and the end-tag only ends the current font.


===<nowiki><IMG></nowiki>===
===<nowiki><IMG></nowiki>===
Anonymous user