Difference between revisions of "Book"
Jump to navigation
Jump to search
no edit summary
imported>Eishunsama |
imported>Mebyon |
||
Line 31: | Line 31: | ||
** Color (<code><nowiki><font color='#FFFFFF'></font></nowiki></code>): Changes the font's color. | ** Color (<code><nowiki><font color='#FFFFFF'></font></nowiki></code>): Changes the font's color. | ||
** Typeface (<code><nowiki><font face='$HandwrittenFont'></font></nowiki></code>): Changes the typeface of the font. The only typefaces supported at the moment are: <code>$HandwrittenFont</code> and <code>$PrintedFont</code> (default). More typefaces can be added to the menu if desired, but it costs us memory for each one, so don't go crazy with the Feature Requests. | ** Typeface (<code><nowiki><font face='$HandwrittenFont'></font></nowiki></code>): Changes the typeface of the font. The only typefaces supported at the moment are: <code>$HandwrittenFont</code> and <code>$PrintedFont</code> (default). More typefaces can be added to the menu if desired, but it costs us memory for each one, so don't go crazy with the Feature Requests. | ||
** Point size (<code><nowiki><font size='20'></font></nowiki></code>): Changes the font size | ** Point size (<code><nowiki><font size='20'></font></nowiki></code>): Changes the font size. See below for the line lengths you can accommodate using different font sizes. | ||
** Alpha (<code><nowiki><font alpha='#FF'></font></nowiki></code>): Changes the font's transparency. Two-digit hexadecimal values from <code>'#00'</code> (fully transparent) through <code>'#FF'</code> (fully opaque) are supported. Useful if your author was low on ink? | ** Alpha (<code><nowiki><font alpha='#FF'></font></nowiki></code>): Changes the font's transparency. Two-digit hexadecimal values from <code>'#00'</code> (fully transparent) through <code>'#FF'</code> (fully opaque) are supported. Useful if your author was low on ink? | ||
* Image tags (<code><nowiki><img></nowiki></code>): Places an image on the page. See Examples below to see different ways of placing images. Supported attributes: | * Image tags (<code><nowiki><img></nowiki></code>): Places an image on the page. See Examples below to see different ways of placing images. Supported attributes: | ||
Line 43: | Line 43: | ||
* Comments (<!--Comment text-->): Comments out the "Comment text", i.e. Tells the renderer to not display the text wrapped within the tags, while still retaining the text in the editor. | * Comments (<!--Comment text-->): Comments out the "Comment text", i.e. Tells the renderer to not display the text wrapped within the tags, while still retaining the text in the editor. | ||
==Font Sizes== | |||
Naturally, the smaller the font size the longer the lines of text can be before word-wrap kicks in. Listed below are the number of characters per line that you can expect. | |||
A couple of caveats: The font is proportional so text containing lots of 'w' and 'm' will have less characters than text using lots if 'i' characters. The $HandwrittenFont is slightly denser so you can expect one or two characters more per line if you're using that font. | |||
Font Size / Number of characters per line | |||
70 10 | |||
50 16 | |||
40 18 | |||
35 21 | |||
30 25 | |||
25 30 | |||
20 37 | |||
18 41 | |||
16 47 | |||
14 54 | |||
12 63 | |||
10 77 | |||
Font sizes below 10 are really too small for the player to read easily. 70 is useful for that 'WANTED' poster! | |||
==Fonts== | ==Fonts== | ||
These are the font types available for use in the tags and their available characters. | These are the font types available for use in the tags and their available characters. |