User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

harlowe:font [2017/10/09 20:39] (current)
Line 1: Line 1:
 +**(font: // [[harlowe:​String|String]]//​) -> //​[[harlowe:​Changer|Changer]]//​**
 +This styling [[harlowe:​Command|Command]] changes the font used to display the text of the attached hook. Provide
 +the font's family name (such as "​Helvetica Neue" or "​Courier"​) as a [[harlowe:​string|string]].
 +=== Example usage: ===
 +''​%%(font:"​Skia"​)[And what have we here?​]%%''​
 +=== Details: ===
 +Currently, this command will only work if the font is available to the player'​s browser.
 +If font files are embedded in your story stylesheet using base64 (an explanation for which
 +is beyond the scope of this macro'​s description) then it can be uses instead.
 +No error will be reported if the provided font name is not available, invalid or misspelled.
 +=== See also: ===
harlowe/font.txt ยท Last modified: 2017/10/09 20:39 (external edit)