Jonathan G Rennison
ca4a4869a2
Revert "Add: [Win32] Uniscribe configure options for MinGW targets."
...
Revert "Change: [Win32] Use Uniscribe instead of ICU for text caret handling."
Revert "Change: [Win32/MSVC] Make the Uniscribe text layouter the windows default and remove usage of the deprecated ICU layout libs."
Revert "Add: [Win32] Text layout using the native Windows Uniscribe library."
Revert "Codechange: Move ParagraphLayouter-specific functions into factory classes instead of relying on overloads."
Revert "Add: [Win32] Native natural sort implementation."
This reverts commit cd966f3810
.
This reverts commit eec3f40931
.
This reverts commit 33829dc6ab
.
This reverts commit 768a31bfe3
.
This reverts commit a4278c302b
.
This reverts commit f4394debdc
.
This is to fix various problems and crashes with text rendering
and font handling on Windows.
See #58 .
2018-06-13 01:46:19 +01:00
Jonathan G Rennison
8e9d68048a
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/string.cpp
2018-06-07 06:49:18 +01:00
Michael Lutz
768a31bfe3
Add: [Win32] Text layout using the native Windows Uniscribe library.
...
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-06 21:37:09 +02:00
Jonathan G Rennison
f34833f111
Merge branch 'improved_breakdowns' into jgrpp
...
# Conflicts:
# src/vehiclelist.cpp
2017-08-15 19:26:26 +01:00
frosch
b4b98e5165
(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)
2017-08-13 18:38:42 +00:00
frosch
a47fb85cd8
(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)
2017-08-13 18:38:42 +00:00
Jonathan G Rennison
52dadc9252
Merge branch 'master' into jgrpp
2017-07-27 18:41:43 +01:00
frosch
64c5f00429
(svn r27888) -Fix: Member access coding style (adf88)
2017-07-11 19:34:41 +00:00
frosch
f1f07b55f4
(svn r27888) -Fix: Member access coding style (adf88)
2017-07-11 19:34:41 +00:00
peter1138
08fe8459c3
(svn r27859) -Revert (r27858): Committed too much :(
2017-04-23 09:20:53 +00:00
peter1138
5932c84011
(svn r27859) -Revert (r27858): Committed too much :(
2017-04-23 09:20:53 +00:00
peter1138
c973f65acb
(svn r27858) -Change [FS#6560]: Add missing game script event for ships arriving at a station. (juanjo)
2017-04-23 09:19:32 +00:00
peter1138
e9e44105eb
(svn r27858) -Change [FS#6560]: Add missing game script event for ships arriving at a station. (juanjo)
2017-04-23 09:19:32 +00:00
Jonathan G Rennison
ee38db6cde
Fix font height cache being incorrect for FreeType fonts.
2016-01-15 18:38:48 +00:00
Jonathan G Rennison
30d8cb2d4c
Fix font height cache when changing GUI scaling.
2016-01-03 14:52:30 +00:00
Jonathan G Rennison
5aad0b51a3
Cache font heights in a static fixed array.
...
This is to avoid significant per-call overhead to get font heights,
as this is performed very frequently.
2016-01-01 21:47:34 +00:00
frosch
aef1cf42e1
(svn r27187) -Fix: Code style.
2015-03-15 12:19:58 +00:00
frosch
bed0370ad1
(svn r27187) -Fix: Code style.
2015-03-15 12:19:58 +00:00
frosch
8767a11d60
(svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ScaleGUITrad().
2015-02-01 20:54:24 +00:00
frosch
a8080b6256
(svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ScaleGUITrad().
2015-02-01 20:54:24 +00:00
planetmaker
84e2d4dd9e
(svn r27079) -Fix: Compilation with freetype2 version 2.5.4 and newer (AMDmi3)
2014-12-11 12:25:53 +00:00
planetmaker
24fec6da12
(svn r27079) -Fix: Compilation with freetype2 version 2.5.4 and newer (AMDmi3)
2014-12-11 12:25:53 +00:00
rubidium
0c2f4bdc2b
(svn r27020) -Cleanup: some coding style consistency improvements (mostly spaces)
2014-10-15 18:31:37 +00:00
rubidium
d534c80e94
(svn r27020) -Cleanup: some coding style consistency improvements (mostly spaces)
2014-10-15 18:31:37 +00:00
peter1138
d549ed2d6c
(svn r27015) -Codechange: Also scale the character spacing for fonts without shadow.
2014-10-14 14:16:38 +00:00
peter1138
2eb38ef9e9
(svn r27015) -Codechange: Also scale the character spacing for fonts without shadow.
2014-10-14 14:16:38 +00:00
peter1138
aa6fdf6f13
(svn r27004) -Codechange: Make GUI size apply to (sprite-font) text as well.
2014-10-12 20:43:25 +00:00
peter1138
1088ad48fc
(svn r27004) -Codechange: Make GUI size apply to (sprite-font) text as well.
2014-10-12 20:43:25 +00:00
rubidium
660a95e5d2
(svn r27003) -Cleanup: fix the use of spaces and asterices "around" some comments
2014-10-12 18:41:53 +00:00
rubidium
771dcf3b7b
(svn r27003) -Cleanup: fix the use of spaces and asterices "around" some comments
2014-10-12 18:41:53 +00:00
rubidium
2be4215f43
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-04-23 20:13:33 +00:00
rubidium
0463dbdc9e
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-04-23 20:13:33 +00:00
fonsinchen
d766a72146
(svn r26389) -Fix [FS#5885]: Select a specific font size when freetype fails to select one automatically.
2014-03-03 21:34:36 +00:00
fonsinchen
b816e07742
(svn r26389) -Fix [FS#5885]: Select a specific font size when freetype fails to select one automatically.
2014-03-03 21:34:36 +00:00
rubidium
4a911754b5
(svn r26209) -Codechange: remove some template magic and simplify some code
2014-01-02 22:41:58 +00:00
rubidium
2618d960e3
(svn r26209) -Codechange: remove some template magic and simplify some code
2014-01-02 22:41:58 +00:00
rubidium
8860bb5c8d
(svn r26170) -Feature-ish: add the currently used fonts to the crash log
2013-12-22 17:46:27 +00:00
rubidium
00c05e79b1
(svn r26170) -Feature-ish: add the currently used fonts to the crash log
2013-12-22 17:46:27 +00:00
frosch
0cf1de904d
(svn r25860) -Fix [FS#5737] (r25570): When clearing font cache, also clear layout cache. (adf88)
2013-10-13 13:28:06 +00:00
frosch
dcec8b9abd
(svn r25860) -Fix [FS#5737] (r25570): When clearing font cache, also clear layout cache. (adf88)
2013-10-13 13:28:06 +00:00
frosch
56bf93b35a
(svn r25822) -Fix [FS#5704]: Searching for a suitable font failed, if one of the fonts had no '?' glyph, and no baseset is installed.
2013-10-06 20:08:11 +00:00
frosch
b4609fd923
(svn r25822) -Fix [FS#5704]: Searching for a suitable font failed, if one of the fonts had no '?' glyph, and no baseset is installed.
2013-10-06 20:08:11 +00:00
frosch
520a8de3e1
(svn r25569) -Codechange: Cache all Font instances in a static container.
2013-07-06 18:56:23 +00:00
frosch
4824cb7886
(svn r25569) -Codechange: Cache all Font instances in a static container.
2013-07-06 18:56:23 +00:00
rubidium
31c0eda620
(svn r25511) -Fix-ish: add the same printable key assert to the sprite font cache as the freetype font cache
2013-06-29 12:03:44 +00:00
rubidium
fac0b83df6
(svn r25511) -Fix-ish: add the same printable key assert to the sprite font cache as the freetype font cache
2013-06-29 12:03:44 +00:00
rubidium
d09127996d
(svn r25501) -Fix: compilation error on OS X
2013-06-28 19:31:31 +00:00
rubidium
3831e3829d
(svn r25501) -Fix: compilation error on OS X
2013-06-28 19:31:31 +00:00
rubidium
f2d78be786
(svn r25493) -Codechange: support for the safer variant of ICU's getFontTable
2013-06-27 21:21:47 +00:00
rubidium
0c14a586bd
(svn r25493) -Codechange: support for the safer variant of ICU's getFontTable
2013-06-27 21:21:47 +00:00