summaryrefslogtreecommitdiffstats
path: root/externals/open_source_archives/src/FontExtendedChineseSimplified.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Merge pull request #2709 from DarkLordZach/oss-ext-fonts-1"David Marcec2019-09-221-0/+24465
| | | | | This reverts commit fa1c60c33ef88c6cd0b72da46842dc9098db712d, reversing changes made to e34899067b60a69bca02761bd1290c6824bb559a.
* externals: Move OSS font data to file_sys in coreZach Hilman2019-09-221-24465/+0
|
* externals: Place font data within cpp filesLioncash2018-09-111-0/+24465
This places the font data within cpp files, which mitigates the possibility of the font data being duplicated within the binary if it's referred to in more than one translation unit in the future. It also stores the data within a std::array, which is more flexible when it comes to operating with the standard library. Furthermore, it makes the data arrays const. This is what we want, as it allows the compiler to store the data within the read-only segment. As it is, having several large sections of mutable data like this just leaves spots in memory that we can accidentally write to (via accidental overruns, what have you) and actually have it work. This ensures the font data remains the same no matter what.