summaryrefslogtreecommitdiff
path: root/src/gfx_layout.cpp
AgeCommit message (Collapse)Author
2018-06-06Add: [Win32] Text layout using the native Windows Uniscribe library.Michael Lutz
Uniscribe is sometimes producing different results compared to ICU, especially when RTL and LTR content is mixed. Comparing the results to other programs (like editors or web browsers) leads me to believe that the result are at least not worse than ICU and possibly better.
2018-06-06Codechange: Move ParagraphLayouter-specific functions into factory classes ↵Michael Lutz
instead of relying on overloads.
2018-04-19Add: {PUSH_COLOUR} and {POP_COLOUR} control codes to handle switching ↵PeterN
colours. (#6737) This replaces the internal SCC_PREVIOUS_COLOUR swap.
2018-04-17Fix #6465: Add {NORMAL_FONT} and {MONO_FONT} control codes to GS strings (#6726)Pavel Stupnikov
2015-08-09(svn r27367) -Codechange: make a distinction between the layouting part of ↵rubidium
ICU (lx) or the sorting/collation part of ICU (i18n)
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2013-11-18(svn r26037) -Fix (r26036): there was a reason they weren't references...rubidium
2013-11-18(svn r26036) -Fix [FS#5809]: multi line text was handled incorrectly causing ↵rubidium
glitches
2013-11-17(svn r26029) -Fix (r26017): The internal index of a character in the layout ↵michi_cc
line depends on the used layouter.
2013-11-16(svn r26018) -Codechange: since there's a wrapper for ICU functions now, we ↵rubidium
can use proper coding style for names again
2013-11-16(svn r26017) -Change: allow the fallback and ICU layouter to exist in unisonrubidium
-Fix [FS#5711]: crash when the ICU layouter thinks a font is corrupted
2013-11-16(svn r26016) -Codechange: prepare for some class renamesrubidium
2013-11-16(svn r26015) -Codechange: some constificatonrubidium
2013-11-08(svn r25949) -Fix [FS#5683]: text direction forcing characters were not ↵rubidium
filtered out, but shown as ? when ICU was not used for layouting. These are included in chat and console messages to force them to be displayed right
2013-08-10(svn r25714) -Fix: explicitly cast some things to silence warnings on GCC 4.0fonsinchen
2013-08-09(svn r25705) -Fix: a number of typos (inspired by ↵rubidium
90c920601c84975acb694f3673e2beb08b013753)
2013-08-06(svn r25696) -Fix (r25651): Missing function in the non-ICU paragraph layouter.michi_cc
2013-08-05(svn r25694) -Fix (r25651): Picky GCC.michi_cc
2013-08-05(svn r25691) -Add: [OSX] Support for mouse selection in the IME composition ↵michi_cc
string.
2013-08-05(svn r25651) -Fix: Textbuf caret rendering for complex scripts (e.g. Tamil).michi_cc
2013-07-07(svn r25574) -Fix (r25570): Trouble with initialisation order of static ↵frosch
members of Layouter and FontCache.
2013-07-06(svn r25570) -Add: cache for ParagraphLayouts.frosch
2013-07-06(svn r25569) -Codechange: Cache all Font instances in a static container.frosch
2013-07-06(svn r25568) -Fix: Non-ICU layouter started new lines with the space which ↵frosch
triggered the linebreak.
2013-07-06(svn r25567) -Codechange: Revive dead DrawStringParams as FontState.frosch
2013-07-01(svn r25551) -Fix (r25465): Possible reading of uninitialised memory due to ↵frosch
undefined execution order.
2013-06-30(svn r25526) -Fix: line breaking in fallback layouter was off-by-one, so ↵rubidium
sometimes strings that needed to be broken off earlier got truncated later on
2013-06-30(svn r25525) -Fix: off-by-one in fallback layout w.r.t. colour/font changesrubidium
2013-06-30(svn r25524) -Fix [FS#5624]: fallback layouter broke on long "words" without ↵rubidium
space after a newline
2013-06-27(svn r25493) -Codechange: support for the safer variant of ICU's getFontTablerubidium
2013-06-27(svn r25485) -Fix-ish: silence compiler warningrubidium
2013-06-27(svn r25482) -Fix [FS#5620]: forced newlines were not properly handledrubidium
2013-06-27(svn r25481) -Fix [FS#5620]: when the font size and colour change directly ↵rubidium
after eachother in a string, the latter isn't taken into account
2013-06-25(svn r25473) -Fix: uninitialised warningrubidium
2013-06-25(svn r25470) -Feature-ish: use ICU's layout engine when that's availablerubidium
2013-06-25(svn r25465) -Codechange: add the concept of a layouting engine for textrubidium