3
0
Fork 0
forked from suyu/suyu
suyu/externals/open_source_archives
Lioncash 46ba1bc40f externals: Place font data within cpp files
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.
2018-09-11 04:25:33 -04:00
..
include externals: Place font data within cpp files 2018-09-11 04:25:33 -04:00
src externals: Place font data within cpp files 2018-09-11 04:25:33 -04:00
CMakeLists.txt externals: Place font data within cpp files 2018-09-11 04:25:33 -04:00
Readme.md

These files were generated by https://github.com/FearlessTobi/yuzu_system_archives at git commit 0a24b0c9f38d71fb2c4bba5645a39029e539a5ec. To generate the files use the run.sh inside that repository.

The follwing system archives are currently included:

  • JPN/EUR/USA System Font