mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-21 18:31:50 -05:00
46ba1bc40f
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. |
||
---|---|---|
.. | ||
boost@0b920df1c9 | ||
catch@15cf3caace | ||
cmake-modules | ||
cubeb@12b78c0edf | ||
dynarmic@959446573f | ||
fmt@62010520ed | ||
getopt | ||
glad | ||
inih | ||
lz4@4db65c1d99 | ||
mbedtls@d409b75a4c | ||
microprofile | ||
open_source_archives | ||
opus@b2871922a1 | ||
unicorn@73f4573535 | ||
xbyak@1de435ed04 | ||
CMakeLists.txt |