summaryrefslogtreecommitdiff
path: root/src/gfx_layout.cpp
AgeCommit message (Collapse)Author
2019-03-28Fix: MSVC warnings (#7423)glx22
2019-03-26Cleanup: Remove unused size template parameters from SmallMap and ↵Henry Wilson
Auto[Free|Delete]SmallVector
2019-03-26Codechange: Replaced SmallVector::[Begin|End]() with std alternativesHenry Wilson
2019-03-26Codechange: Replaced SmallVector::Append() with ↵Henry Wilson
std::vector::[push|emplace]_back()
2019-03-26Codechange: Replaced SmallVector::Get() const with std alternativesHenry Wilson
2019-03-26Codechange: Replace SmallVector::Length() with std::vector::size()Henry Wilson
2019-03-26Codechange: Replace SmallVector::Clear() with std::vector::clear()Henry Wilson
2019-03-11Codechange: ICU_LAYOUT is in reality ICU_LX (according to their CMake files)Patric Stout
By naming it in a different way, things get a bit confusing. Especially if we are switching to CMake, which autodetects these things, we need to use the name the authors of ICU gave it; not our interpertation of that name.
2018-12-08Add: [OSX] Text layout using the native CoreText API.Michael Lutz
By default, the native API will be used instead of ICU, but if ICU is forced in using configure, it will take precedence.
2018-10-31Fix: Remove various dead or unnecessary assignmentsCharles Pigott
2018-09-20Fix #6854: Compilation with ICU 62 (#6912)Stefan Strogin
2018-07-07Fix #6844: Compile warning when compiling dedicated server (#6849)Ingo von Borstel
2018-06-16Fix 768a31b: When cascading to another text layouter, clear the old font run ↵Michael Lutz
state left over from the previous (failed) layout attempt.
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