aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/ScintillaDoc.html
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2015-01-10 10:43:34 +1100
committerNeil <nyamatongwe@gmail.com>2015-01-10 10:43:34 +1100
commitcf60b6799dcf30c8b5cbc1cbb1f48eb45abfaf29 (patch)
tree0e9c880e014853935d73f22c1134db144fb3844f /doc/ScintillaDoc.html
parent74239b26d5ac95845c0403d1336b2c6971a7d308 (diff)
downloadscintilla-mirror-cf60b6799dcf30c8b5cbc1cbb1f48eb45abfaf29.tar.gz
On Windows GDI, assume font names are encoded in UTF-8 and use wide character
calls to allow use of Asian font names.
Diffstat (limited to 'doc/ScintillaDoc.html')
-rw-r--r--doc/ScintillaDoc.html12
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html
index 1afc6d77e..ed66afa69 100644
--- a/doc/ScintillaDoc.html
+++ b/doc/ScintillaDoc.html
@@ -82,7 +82,7 @@
<h1>Scintilla Documentation</h1>
- <p>Last edited 24 November 2014 NH</p>
+ <p>Last edited 10 January 2015 NH</p>
<p>There is <a class="jump" href="Design.html">an overview of the internal design of
Scintilla</a>.<br />
@@ -2577,11 +2577,15 @@ struct Sci_TextToFind {
<b id="SCI_STYLEGETITALIC">SCI_STYLEGETITALIC(int styleNumber)</b><br />
These messages (plus <a class="message"
href="#SCI_STYLESETCHARACTERSET"><code>SCI_STYLESETCHARACTERSET</code></a>) set the font
- attributes that are used to match the fonts you request to those available. The
+ attributes that are used to match the fonts you request to those available.</p>
+ <p>The
<code>fontName</code> is a zero terminated string holding the name of a font. Under Windows,
- only the first 32 characters of the name are used and the name is not case sensitive. For
+ only the first 32 characters of the name are used, the name is decoded as UTF-8, and the name is not case sensitive. For
internal caching, Scintilla tracks fonts by name and does care about the casing of font names,
- so please be consistent. On GTK+, Pango is used to display text.</p>
+ so please be consistent.
+ On GTK+, Pango is used to display text and the name is sent directly to Pango without transformation.
+ On Qt, the name is decoded as UTF-8.
+ On Cocoa, the name is decoded as MacRoman.</p>
<p>Sizes can be set to a whole number of points with <code>SCI_STYLESETSIZE</code>
or to a fractional point size in hundredths of a point with <code>SCI_STYLESETSIZEFRACTIONAL</code>
by multiplying the size by 100 (<code>SC_FONT_SIZE_MULTIPLIER</code>).