diff options
Diffstat (limited to 'html/en/func/text.html')
-rw-r--r-- | html/en/func/text.html | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/html/en/func/text.html b/html/en/func/text.html index 12a54cd..c2735b0 100644 --- a/html/en/func/text.html +++ b/html/en/func/text.html @@ -6,6 +6,11 @@ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Text</title> <link rel="stylesheet" type="text/css" href="../../style.css"> +<style type="text/css"> +.style1 { + text-decoration: underline; +} +</style> </head> <body> @@ -14,8 +19,8 @@ <p>A raster text using a font with styles. The position the text is drawn depends on the text alignment attribute. </p> <p>The library has at least 4 standard typefaces: "System" (which depends on the driver and platform), - "Courier" (mono spaced - with serif), "Times" (proportional with serif) and "Helvetica" (proportional without serif). Each typeface can have + "<span class="style1">Courier</span>" (mono spaced + with serif), "<span class="style1">Times</span>" (proportional with serif) and "<span class="style1">Helvetica</span>" (proportional without serif). Each typeface can have some styles: Plain, <strong>Bold</strong>, <em>Italic</em> and a combination of <em><strong>Bold and Italic</strong></em>. As an alternative to the standard typefaces, you can use other typefaces or native driver typefaces with the function <strong>NativeFont</strong>, but they may work in a reduced set of drivers. |