Merge pull request #1293 from lioncash/font

externals: Place font data within cpp files
This commit is contained in:
bunnei 2018-09-11 11:37:32 -04:00 committed by GitHub
commit 143525dcb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
20 changed files with 111727 additions and 111667 deletions

View File

@ -1,3 +1,16 @@
add_library(open_source_archives INTERFACE) add_library(open_source_archives
src/FontChineseSimplified.cpp
src/FontChineseTraditional.cpp
src/FontExtendedChineseSimplified.cpp
src/FontKorean.cpp
src/FontNintendoExtended.cpp
src/FontStandard.cpp
include/FontChineseSimplified.h
include/FontChineseTraditional.h
include/FontExtendedChineseSimplified.h
include/FontKorean.h
include/FontNintendoExtended.h
include/FontStandard.h
)
target_include_directories(open_source_archives INTERFACE "include/") target_include_directories(open_source_archives PUBLIC include)

View File

@ -0,0 +1,6 @@
#pragma once
#include <array>
extern const std::array<unsigned char, 217276> FontChineseSimplified;

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,6 @@
#pragma once
#include <array>
extern const std::array<unsigned char, 222236> FontChineseTraditional;

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,6 @@
#pragma once
#include <array>
extern const std::array<unsigned char, 293516> FontExtendedChineseSimplified;

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,6 @@
#pragma once
#include <array>
extern const std::array<unsigned char, 217276> FontKorean;

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,6 @@
#pragma once
#include <array>
extern const std::array<unsigned char, 172064> FontNintendoExtended;

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,6 @@
#pragma once
#include <array>
extern const std::array<unsigned char, 217276> FontStandard;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -2,12 +2,12 @@
// Licensed under GPLv2 or any later version // Licensed under GPLv2 or any later version
// Refer to the license.txt file included. // Refer to the license.txt file included.
#include <FontChineseSimplified.ttf.h> #include <FontChineseSimplified.h>
#include <FontChineseTraditional.ttf.h> #include <FontChineseTraditional.h>
#include <FontExtendedChineseSimplified.ttf.h> #include <FontExtendedChineseSimplified.h>
#include <FontKorean.ttf.h> #include <FontKorean.h>
#include <FontNintendoExtended.ttf.h> #include <FontNintendoExtended.h>
#include <FontStandard.ttf.h> #include <FontStandard.h>
#include "common/common_paths.h" #include "common/common_paths.h"
#include "common/file_util.h" #include "common/file_util.h"