summaryrefslogtreecommitdiff
path: root/src/gfx_layout.cpp
AgeCommit message (Collapse)Author
2021-01-08Codechange: Remove min/max functions in favour of STL variants (#8502)Charles Pigott
2020-10-30Fix: build with icu-68.1Lars Wendler
icu-68.1 removed public macro definitions for TRUE and FALSE Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
2020-02-15Fix: Ignore not printable characters when layouting a stringglx
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-09-30Fix: Remove workaround for clang-3.8, now that GCC9 warns about itCharles Pigott
2019-07-07Fix #6666: Mismatched parentheses in RTL languagespnda
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-04-09Codechange: Replace AutoDeleteSmallVector with direct std::vector use in ↵Michael Lutz
text layout code.
2019-04-09Codechange: Store text layout runs directly as values in a std::vector ↵Michael Lutz
instead of heap allocated. This reduces memory allocations and heap fragmentation.
2019-04-09Codechange: Use override specifier for text layout classes.Michael Lutz
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