Commit Graph

8 Commits

Author SHA1 Message Date
sluicebox
b5241be248 SCI: Fix buffer overflow when loading Korean font
Fixes bug #11966
2020-11-21 00:51:26 -08:00
Vladimir Serbinenko
68a9136e4d
COMMON: Rewrite Encoder and drop dependency on iconv (#2586)
Different platforms have different levels of support of encodings and
often have slight variations. We already have tables for most encoding
with only CJK missing. Full transcoding inclusion allows us to get reliable
encoding results independently of platform. The biggest con is the need for
external tables encoding.dat.

It removes a duplicate table for korean in graphics/korfont.cpp
2020-11-15 16:20:35 +01:00
Eugene Sandulenko
458b2332d5 JANITORIAL: Formatting fixes 2020-11-09 19:33:57 +01:00
D G Turner
e74f225731 GRAPHICS: Fix Compilation Breakage from Merge of Korean Font Code
This breaks compilation on several platforms due to the initialization
in the header. This is replaced by adding a constructor / destructor
instead as per the other class, which also will aid future development
of this code.
2020-11-09 07:40:40 +00:00
wonst719
00bd552840 SCI: Korean code cleanup
- Move repeated message.map tests into ResourceManager::isKoreanMessageMap()
- Fix comments
- Fix formatting
- Remove unused codes
2020-11-08 22:26:31 +02:00
wonst719
71d0362b75 GRAPHICS: Rewrite Korean codepage conversion code 2020-11-08 22:26:31 +02:00
wonst719
25da3603e4 SCI: Korean code cleanup
- Remove unused function definitions
- Remove unnecessary #include
- Fix comment
- Fix license header
2020-11-08 22:26:31 +02:00
wonst719
b7664c24dc SCI: Korean fan translation support 2020-11-08 22:26:31 +02:00