83 Commits

Author SHA1 Message Date
Benau
767ba27598 Add get_all_used_chars to tinygettext 2020-09-09 13:31:37 +08:00
Benau
369c346857 Use SheenBidi instead of FriBidi and libraqm 2020-08-24 00:55:10 +08:00
Benau
f4233977e5 Port moved height to android STK 2020-07-12 08:34:59 +08:00
Benau
da1d41bf85 Add resizing of GUIEngine (only works with some screen) 2020-06-04 15:49:34 +08:00
Benau
5c77e641e9 Add batch drawing for list box widget 2020-05-01 09:45:22 +08:00
Benau
4d72b118e3 Batch glyph for quicker text rendering 2020-05-01 09:34:04 +08:00
Benau
88bbdbdc92 Move no graphics setting to guiengine which is a better place 2020-02-15 14:00:48 +08:00
Benau
1553d7b70f Use copyTo for same size glyph 2019-09-22 09:00:26 +08:00
Benau
9154aeda58 Add support for CPAL / COLR tables color emoji
Require freetype 2.10, emoji can be Windows 10 Segoe UI Emoji for
example
2019-09-21 16:08:12 +08:00
Benau
25aca4328b Add font configuration to skin 2019-09-21 11:48:22 +08:00
Benau
660a35a468 Allow changing font size live 2019-09-21 11:41:21 +08:00
Benau
6dfc8dd52c Add text shaping rule for variation selector-16 2019-07-01 14:53:44 +08:00
Benau
a37b300530 Fix possible crashes in null device 2019-06-29 12:41:56 +08:00
Benau
35c70a16b5 Avoid crashing if color emoji failed to load 2019-06-29 01:38:23 +08:00
Benau
074039d2c5 Use a better image resize code
The box filter from irrlicht produces wrong brightness when using with
different size
2019-06-23 01:02:05 +08:00
Benau
13b6a6b25c Fix inherited script font selection 2019-06-20 15:37:53 +08:00
Benau
1389d55e35 Use last cluster to determine linebreaking so ligatures is handled 2019-06-19 12:49:47 +08:00
Benau
59ccef98fb Add thai dictionary from ICU for linebreaking 2019-06-19 11:08:41 +08:00
Benau
0ce185e42c Allow breaking with zero-width space 2019-06-17 16:09:27 +08:00
Benau
d44275a1f6 Fix FPS drawing if there it's translated 2019-06-17 10:37:32 +08:00
Benau
bb63a85d6f Remove unneeded RTL settings 2019-06-17 01:22:34 +08:00
Benau
8995342b94 Clear cached glyph layouts if too many 2019-06-17 01:12:54 +08:00
dumaosen
4f6e3793b8 fix #3923 && replace fonts size to font size (#3960)
* Replace fonts size into font size

* replace fonts size to font size

* Replace fonts size into font size

* #3923 && replace fonts size to font size

* delete min & max

* add font size spinner in loadedfromfile

* Delete wrap around

* Fix a bug

* Wider range in artist debug mode

* Better word
2019-06-16 00:33:57 +08:00
Benau
784c6715ad Fix composing text color 2019-06-15 15:00:03 +08:00
Benau
64b8fc4466 Round next line offset to integer to avoid blurring effect 2019-06-15 11:08:11 +08:00
Benau
c2339dc83b Make too long broken text draw as fit as possible 2019-06-14 20:39:30 +08:00
Benau
effc0a27dc Always use thin border for fallback font (emoji)
Which avoids the scaling issue of border
2019-06-12 09:06:54 +08:00
Benau
d7cd98f636 Use a smaller ratio to waste less space 2019-06-11 16:30:06 +08:00
Benau
28cc2838a8 Add color emoji 2019-06-10 10:35:42 +08:00
Benau
89e3bcd11b Update stk edit box to be more i18n friendly 2019-06-10 00:43:31 +08:00
Benau
acb9054dcb Use libraqm for text layout 2019-06-09 11:26:00 +08:00
Benau
867cecc01e Refactor FaceTTF for later better usage 2019-05-30 10:34:47 +08:00
Deve
4883e4a585 Use floating point value for font scale 2019-05-13 23:46:28 +02:00
dumaosen
da4ac0a976 A better solution for those scaling issues in high or creepy resolutions gen II (#3910)
* Fix scaling issues

* Fonts size adjustion support

* Add fonts size support && Fix scaling issue

* Use fonts height

* Fix scaling issues

* Add my name onto CREDITS

* Fix scaling issues

* Fix scaling issues

* Use space instead of tab

* Use space instead of tab

* Fix bad scale

* Use font height
2019-05-13 23:39:43 +02:00
Deve
b193592ccf Better font height on very high resolutions 2019-03-05 22:00:00 +01:00
Benau
9c3bae5a87 Use actualy screen size instead of frame size for font scaling 2018-11-17 13:50:50 +08:00
Alayan
b4cb7321d6 Add a thin outline for lap time/battle lives 2018-10-08 16:18:13 +02:00
Alayan
1b17879313 Add functions and variables to allow custom-colored text outlines 2018-10-05 20:08:47 +02:00
Benau
7d561de3fb Disable freetype in no graphics 2018-09-13 01:11:17 +08:00
Benau
a60b2d3761 Remove freetype in server only build 2018-07-07 02:06:49 +08:00
Benau
9c3aae554e Remove fribidi and tinygettext in server only build 2018-07-07 01:22:26 +08:00
hiker
203c511fab Fixed compiler warnings. 2018-04-19 18:08:48 +10:00
hiker
98555a8f35 Merge remote-tracking branch 'origin/master' into game_protocol 2018-04-19 10:57:37 +10:00
Deve
4abdb14a4c Allow to use bigger fonts on desktop version for easier debugging 2018-04-11 21:39:34 +02:00
hiker
b1013f6030 Merge remote-tracking branch 'origin/network_improvements' into game_protocol 2018-03-31 00:38:57 +11:00
Deve
26419e5ee0 Better gui scaling on android 2018-03-16 23:00:58 +01:00
Benau
9d93e0112c Try to fix OSX no-graphics STK 2018-03-01 10:10:08 +08:00
Benau
42a3eb1880 Uniform vertex color for fonts in all pipelines 2017-10-20 18:21:55 +08:00
hiker
668fdd3b49 Fixed some 64-bit related compiler warnings. 2017-04-07 23:25:52 +10:00
Benau
c7eeb8338d Try to fix for gles 2017-02-24 19:03:14 +08:00