Vladimir Serbinenko
ed5f0b1912
GRIM: Support unicode TTF
2024-09-13 00:11:38 +02:00
Cameron Cawley
7e0dfe0081
GRAPHICS: Use custom stream callbacks for loading TTF fonts
2024-07-23 15:33:43 +01:00
Youngjun, Choi
f098f7a040
GRIM: Fix support for Korean translation for Grim Fandango
2023-12-09 08:38:49 +01:00
Vladimir Serbinenko
c93486dfe2
GRIM: Support Chinese TGA font
2023-05-10 13:18:54 +02:00
Vladimir Serbinenko
d9dcc54d49
GRIM: Fix handling of single-byte character in DBCS font
2023-03-17 16:50:04 +01:00
Vladimir Serbinenko
28d96e436a
GRIM: Remove Chinese font scaling
...
It's buggy and results in a crash. Additionally it's not necessarry.
2023-03-17 01:41:50 +01:00
Vladimir Serbinenko
60141a62ac
GRIM: Double the size of Chinese font
2023-03-05 22:39:27 +01:00
Vladimir Serbinenko
dc86f8731c
GRIM: Support Chinese font
2023-03-05 22:39:27 +01:00
Vladimir Serbinenko
3e1075c2b0
GRIM: Small optimisation in bitmap font renderer
2023-03-05 22:39:27 +01:00
Vladimir Serbinenko
829eab2f72
GRIM: Split TTF fonts from bitmap fonts and add a drawing interface
...
This cleans up the code and allows adding double-byte charsets easier
2023-03-05 22:39:27 +01:00
Paweł Kołodziejski
06902574b4
GRIM: Janitorial
2022-06-08 01:12:00 +02:00
Paweł Kołodziejski
20cb0ae228
ALL: Cleanup ResidualVM -> ScummVM
2021-12-26 21:19:38 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Alexandre Detiste
6044504762
JANITORIAL: typos
...
some in the variable names, some in the comments;
no change for the strings that interract with original games assets
2021-10-31 20:46:31 +01:00
Pawel Kolodziejski
527ac8ee87
GRIM: Allow compile without freetype
2020-10-07 21:11:04 +02:00
Pawel Kolodziejski
3d74c3dd4d
GRIM: Post branch merge fixes.
2020-10-07 19:50:27 +02:00
Paweł Kołodziejski
6e619ca714
GRIM: Merge branch 'remastered'
2020-10-07 18:26:49 +02:00
Mathias Parnaudeau
75de72f38f
GRIM: Add one missing character description in emerFont data
...
The builtin font emerFont is currently used to display FPS.
Each graphics engine reads this array to render each of the 96 characters,
from 32 to 127 the ASCII table.
TinyGL and OpenGL-shaders read the array out of bound because they read
data for the 96th character in emerFont that only describes 95.
No problem was hightlighted with OpenGL engine because it only read 95
characters, with no consequence as the character 127 is DEL, so never
displayed.
To be compliant with the global implementation, data for character 127
is added in emerFont (will display nothing) and the OpenGL engine is
changed accordingly.
2020-02-21 07:17:48 +01:00
Joel Teichroeb
6df76c20df
Load and render ttf fonts
2015-02-01 15:36:56 -08:00
Joseph Jezak
f3200a76ff
EMI: Fix font text centering by using just the kerned width.
2014-08-20 09:36:31 -04:00
Joseph Jezak
4a02e3af42
EMI: Fix font rendering with TinyGL.
2014-08-15 10:06:08 -04:00
Joseph Jezak
e638c09ba6
GRIM/EMI: Adjust the width and height names to better reflect usage.
2014-08-04 11:14:28 -04:00
Joseph Jezak
4e5cfab3a3
EMI: Fix spacing between word wrapped lines.
2014-08-04 11:14:27 -04:00
Joseph Jezak
53de9b5ef6
GRIM/EMI: Use only the kerned width when determining text width.
2014-08-04 11:14:27 -04:00
Joel Teichroeb
0f3da43694
GRIM: Change NULL to nullptr.
2014-05-30 17:43:08 -07:00
Pawel Kolodziejski
8759900b6a
ALL: synced with ScummVM
2014-04-05 18:18:42 +02:00
Joel Teichroeb
dbfd0efab6
GRIM: Don't bother checking if the value returned from new is nulll
...
It can never be null and will throw an exception if it can't allocate the
memory
2014-02-04 13:07:17 -08:00
Einar Johan Trøan Sømåen
d992b0759d
GRIM: Initialize more members in Font's constructor
2014-01-07 12:32:04 +01:00
Joel Teichroeb
a3ce54703f
GRIM: Clean up font constructors
2013-10-26 13:27:29 -07:00
Paweł Kołodziejski
175620b62a
ALL: change license headers from LGPL to GPL, and few updates
2012-12-19 23:15:43 +01:00
Joel Teichroeb
94aeca9663
GRIM: Remove tag from the pool template
2012-04-05 15:20:30 -07:00
Joel Teichroeb
0dcfaf8fb1
GRIM: Do not include unneeded headers
2012-04-04 16:11:05 -07:00
Joel Teichroeb
c32458a389
GRIM: Intialize font data to NULL in order to not crash in certain cases
2012-03-24 17:37:27 -07:00
Joel Teichroeb
777287e33f
GRIM: Fix a memory leak when restoring fonts
2012-03-24 16:32:09 -07:00
Joel Teichroeb
2649620a9b
GRIM: Fix some small memory leaks
2012-01-25 20:35:58 -08:00
Joel Teichroeb
acdd0e223f
GRIM: Add support for live switching of gfx engines
2012-01-21 20:18:35 -08:00
Joel Teichroeb
af7f68db76
GRIM: Fix some memory leaks related to not always freeing streams
2012-01-20 12:06:01 -08:00
Paweł Kołodziejski
e350c7f777
renames
2012-01-06 23:29:45 +01:00
Andrea Corna
37b70f4350
GRIM: Remove Block class. Restore cache for raw files in ResourceLoader
2011-12-30 17:17:08 +01:00
Andrea Corna
55995f0c64
GRIM: Make Font load from a stream instead of a data Block
2011-12-30 17:17:08 +01:00
Giulio Camuffo
7b1f87f928
GRIM: Boost of the debug system, using debug channels.
2011-10-10 18:17:22 +02:00
George Macon
f435e25e7c
Include specializations to fix compile on Mac OS 10.7.
2011-09-12 20:37:48 +08:00
Giulio Camuffo
1fbbd24aee
GRIM: Port Actor, Bitmap, Color, Font, Primitive, ObjectState, Scene, TextObj to PoolObject.
...
These are the classes that go into Lua, and so are kept in a pool,
indexed with an id.
2011-09-07 23:08:59 +02:00
Giulio Camuffo
5f59fff5b3
GRIM: Move the debug levels enum in a separate header.
2011-07-23 15:37:14 +02:00
Giulio Camuffo
692ce7685f
GRIM: Some header cleanups.
2011-07-22 22:40:49 +02:00
Joel Teichroeb
57e320ec89
Cleaned up some old code.
2011-06-06 13:11:04 -07:00
Joel Teichroeb
a1773a4674
Forgot to uncomment a file
2011-06-06 13:07:33 -07:00
Joel Teichroeb
075e61ddcf
Made font stuff private again and added a userdata member.
2011-06-06 13:07:33 -07:00
Joel Teichroeb
c69322d78b
Improved the tinygl font rendering.
2011-06-06 13:07:32 -07:00
Joel Teichroeb
4725e4fbe5
Make the graphics systems draw the TextObject instead of just the text.
2011-06-06 13:07:32 -07:00