forked from len0rd/rockbox
Revert "internals: Support characters beyond the first unicode plane (WIP)"
This reverts commit d05c59f35b
.
This commit is contained in:
parent
d05c59f35b
commit
84504c7471
44 changed files with 335 additions and 480 deletions
|
@ -116,7 +116,7 @@ int gen_h = 0;
|
|||
int gen_fnt = 0;
|
||||
int gen_map = 1;
|
||||
int start_char = 0;
|
||||
int limit_char = 1024*1024; /* 2**20, ie max unicode codepoint */
|
||||
int limit_char = 65535;
|
||||
int oflag = 0;
|
||||
char outfile[256];
|
||||
|
||||
|
@ -569,7 +569,7 @@ struct font* bdf_read_font(char *path)
|
|||
int bdf_read_header(FILE *fp, struct font* pf)
|
||||
{
|
||||
int encoding;
|
||||
int firstchar = 1024*1024; /* Max Unicode is 2**20 */
|
||||
int firstchar = 65535;
|
||||
int lastchar = -1;
|
||||
char buf[256];
|
||||
char facename[256];
|
||||
|
|
|
@ -91,7 +91,7 @@ static int eid = DEFAULT_ENCODING_ID;
|
|||
static FT_UShort nocmap;
|
||||
|
||||
int pct = 0; /* display ttc table if it is not zero. */
|
||||
FT_Long max_char = 1024*1024; /* Unicode maxes out at 2**20 */
|
||||
FT_Long max_char = 65535;
|
||||
int pixel_size = 15;
|
||||
FT_Long start_char = 0;
|
||||
FT_Long limit_char;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue