Offline convert font Msyh.ttf failed

Description

I want to convert the Msyh.ttf(which includes Chinese characters), but it seems failed.

Using the same command, I have convert the simhei.ttf which is provided from the Windows system; but it failed in the msyh.ttf.

What MCU/Processor/Board and compiler are you using?

What do you want to achieve?

my font convert command is show below

node lv_font_conv --font E:\littlevgl\msyh.ttf -r 0x20-0x7f,0x7684,0x4e00,0x662f,0x4e86,0x6211,0x4e0d,0x4eba,0x5728,0x4ed6,0x6709,0x8fd9,0x4e2a,0x4e0a,0x4eec,0x6765,0x5230,0x65f6,0x5927,0x5730,0x4e3a,0x5b50,0x4e2d,0x4f60,0x8bf4,0x751f,0x56fd,0x5e74,0x7740,0x5c31,0x90a3,0x548c,0x8981,0x5979,0x51fa,0x4e5f,0x5f97,0x91cc,0x540e,0x81ea,0x4ee5,0x4f1a,0x5bb6,0x53ef,0x4e0b,0x800c,0x8fc7,0x5929,0x53bb,0x80fd,0x5bf9,0x5c0f,0x591a,0x7136,0x4e8e,0x5fc3,0x5b66,0x4e48,0x4e4b,0x90fd,0x597d,0x770b,0x8d77,0x53d1,0x5f53,0x6ca1,0x6210,0x53ea,0x5982,0x4e8b,0x628a,0x8fd8,0x7528,0x7b2c,0x6837,0x9053,0x60f3,0x4f5c,0x79cd,0x5f00,0x7f8e,0x603b,0x4ece,0x65e0,0x60c5,0x5df1,0x9762,0x6700,0x5973,0x4f46,0x73b0,0x524d,0x4e9b,0x6240,0x540c,0x65e5,0x624b,0x53c8,0x884c,0x610f,0x52a8,0x65b9,0x671f,0x5b83,0x5934,0x7ecf,0x957f,0x513f,0x56de,0x4f4d,0x5206,0x7231,0x8001,0x56e0,0x5f88,0x7ed9,0x540d,0x6cd5,0x95f4,0x65af,0x77e5,0x4e16,0x4ec0,0x4e24,0x6b21,0x4f7f,0x8eab,0x8005,0x88ab,0x9ad8,0x5df2,0x4eb2,0x5176,0x8fdb,0x6b64,0x8bdd,0x5e38,0x4e0e,0x6d3b,0x6b63,0x611f,0x89c1,0x660e,0x95ee,0x529b,0x7406,0x5c14,0x70b9,0x6587,0x51e0,0x5b9a,0x672c,0x516c,0x7279,0x505a,0x5916,0x5b69,0x76f8,0x897f,0x679c,0x8d70,0x5c06,0x6708,0x5341,0x5b9e,0x5411,0x58f0,0x8f66,0x5168,0x4fe1,0x91cd,0x4e09,0x673a,0x5de5,0x7269,0x6c14,0x6bcf,0x5e76,0x522b,0x771f,0x6253,0x592a,0x65b0,0x6bd4,0x624d,0x4fbf,0x592b,0x518d,0x4e66,0x90e8,0x6c34,0x50cf,0x773c,0x7b49,0x4f53,0x5374,0x52a0,0x7535,0x4e3b,0x754c,0x95e8,0x5229,0x6d77,0x53d7,0x542c,0x8868,0x5fb7,0x5c11,0x514b,0x4ee3,0x5458,0x8bb8,0x7a1c,0x5148,0x53e3,0x7531,0x6b7b,0x5b89,0x5199,0x6027,0x9a6c,0x5149,0x767d,0x6216,0x4f4f,0x96be,0x671b,0x6559,0x547d,0x82b1,0x7ed3,0x4e50,0x8272,0x66f4,0x62c9,0x4e1c,0x795e,0x8bb0,0x5904,0x8ba9,0x6bcd,0x7236,0x5e94,0x76f4,0x5b57,0x573a,0x5e73,0x62a5,0x53cb,0x5173,0x653e,0x81f3,0x5f20,0x8ba4,0x63a5,0x544a,0x5165,0x7b11,0x5185,0x82f1,0x519b,0x5019,0x6c11,0x5c81,0x5f80,0x4f55,0x5ea6,0x5c71,0x89c9,0x8def,0x5e26,0x4e07,0x7537,0x8fb9,0x98ce,0x89e3,0x53eb,0x4efb,0x91d1,0x5feb,0x539f,0x5403,0x5988,0x53d8,0x901a,0x5e08,0x7acb,0x8c61,0x6570,0x56db,0x5931,0x6ee1,0x6218,0x8fdc,0x683c,0x58eb,0x97f3,0x8f7b,0x76ee,0x6761,0x5462,0x75c5,0x59cb,0x8fbe,0x6df1,0x5b8c,0x4eca,0x63d0,0x6c42,0x6e05,0x738b,0x5316,0x7a7a,0x4e1a,0x601d,0x5207,0x600e,0x975e,0x627e,0x7247,0x7f57,0x94b1,0x7d36,0x5417,0x8bed,0x5143,0x559c,0x66fe,0x79bb,0x98de,0x79d1,0x8a00,0x5e72,0x6d41,0x6b22,0x7ea6,0x5404,0x5373,0x6307,0x5408,0x53cd,0x9898,0x5fc5,0x8be5,0x8bba,0x4ea4,0x7ec8,0x6797,0x8bf7,0x533b,0x665a,0x5236,0x7403,0x51b3,0x7aa2,0x4f20,0x753b,0x4fdd,0x8bfb,0x8fd0,0x53ca,0x5219,0x623f,0x65e9,0x9662,0x91cf,0x82e6,0x706b,0x5e03,0x54c1,0x8fd1,0x5750,0x4ea7,0x7b54,0x661f,0x7cbe,0x89c6,0x4e94,0x8fde,0x53f8,0x5df4,0x5947,0x7ba1,0x7c7b,0x672a,0x670b,0x4e14,0x5a5a,0x53f0,0x591c,0x9752,0x5317,0x961f,0x4e45,0x4e4e,0x8d8a,0x89c2,0x843d,0x5c3d,0x5f62,0x5f71,0x7ea2,0x7238,0x767e,0x4ee4,0x5468,0x5427,0x8bc6,0x6b65,0x5e0c,0x4e9a,0x672f,0x7559,0x5e02,0x534a,0x70ed,0x9001,0x5174,0x9020,0x8c08,0x5bb9,0x6781,0x968f,0x6f14,0x6536,0x9996,0x6839,0x8bb2,0x6574,0x5f0f,0x53d6,0x7167,0x529e,0x5f3a,0x77f3,0x53e4,0x534e,0x8ae3,0x62ff,0x8ba1,0x60a8,0x88c5,0x4f3c,0x8db3,0x53cc,0x59bb,0x5c3c,0x8f6c,0x8bc9,0x7c73,0x79f0,0x4e3d,0x5ba2,0x5357,0x9886,0x8282,0x8863,0x7ad9,0x9ed1,0x523b,0x7edf,0x65ad,0x798f,0x57ce,0x6545,0x5386,0x60ca,0x8138,0x9009,0x5305,0x7d27,0x4e89,0x53e6,0x5efa,0x7ef4,0x7edd,0x6811,0x7cfb,0x4f24,0x793a,0x613f,0x6301,0x5343,0x53f2,0x8c01,0x51c6,0x8054,0x5987,0x7eaa,0x57fa,0x4e70,0x5fd7,0x9759,0x963f,0x8bd7,0x72ec,0x590d,0x75db,0x6d88,0x793e,0x7b97,0x4e49,0x7adf,0x786e,0x9152,0x9700,0x5355,0x6cbb,0x5361,0x5e78,0x5170,0x5ff5,0x4e3e,0x4ec5,0x949f,0x6015,0x5171,0x6bdb,0x53e5,0x606f,0x529f,0x5b98,0x5f85,0x7a76,0x8ddf,0x7a7f,0x5ba4,0x6613,0x6e38,0x7a0b,0x53f7,0x5c45,0x8003,0x7a81,0x76ae,0x54ea,0x8d39,0x5012,0x4ef7,0x56fe,0x5177,0x521a,0x8111,0x6c38,0x6b4c,0x54cd,0x5546,0x793c,0x7ec6,0x4e13,0x9ec4,0x5757,0x811a,0x5473,0x7075,0x6539,0x636e,0x822c,0x7834,0x5f15,0x98df,0x4ecd,0x5b58,0x4f17,0x6ce8,0x7b14,0x751a,0x67d0,0x6c89,0x8840,0x5907,0x4e60,0x6821,0x9ed8,0x52a1,0x571f,0x5fae,0x5a18,0x987b,0x8bd5,0x6000,0x6599,0x8c03,0x5e7f,0x8716,0x82cf,0x663e,0x8d5b,0x67e5,0x5bc6,0x8bae,0x5e95,0x5217,0x5bcc,0x68a6,0x9519,0x5ea7,0x53c2,0x516b,0x9664,0x8dd1,0x4eae,0x5047,0x5370,0x8bbe,0x7ebf,0x6e29,0x867d,0x6389,0x4eac,0x521d,0x517b,0x9999,0x505c,0x9645,0x81f4,0x9633,0x7eb8,0x674e,0x7eb3,0x9a8c,0x52a9,0x6fc0,0x591f,0x4e25,0x8bc1,0x5e1d,0x996d,0x5fd8,0x8da3,0x652f,0x6625,0x96c6,0x4e08,0x6728,0x7814,0x73ed,0x666e,0x5bfc,0x987f,0x7761,0x5c55,0x8df3,0x83b7,0x827a,0x516d,0x6ce2,0x5bdf,0x7fa4,0x7687,0x6bb5,0x6025,0x5ead,0x521b,0x533a,0x5965,0x5668,0x8c22,0x5f1f,0x5e97,0x5426,0x5bb3,0x8349,0x6392,0x80cc,0x6b62,0x7ec4,0x5dde,0x671d,0x5c01,0x775b,0x677f,0x89d2,0x51b5,0x66f2,0x9986,0x80b2,0x5fd9,0x8d28,0x6cb3,0x7eed,0x54e5,0x547c,0x82e5,0x63a8,0x5883,0x9047,0x96e8,0x6807,0x59d0,0x5145,0x56f4,0x6848,0x4f26,0x62a4,0x51b7,0x8b66,0x8d1d,0x8457,0x96ea,0x7d22,0x5267,0x554a,0x8239,0x9669,0x70df,0x4f9d,0x6597,0x503c,0x5e2e,0x6c49,0x6162,0x4f5b,0x80af,0x95fb,0x5531,0x6c99,0x5c40,0x4f2f,0x65cf,0x4f4e,0x73a9,0x8d44,0x5c4b,0x51fb,0x901f,0x987e,0x6cea,0x6d32,0x56e2,0x5723,0x65c1,0x5802,0x5175,0x4e03,0x9732,0x56ed,0x725b,0x54ed,0x65c5,0x8857,0x52b3,0x578b,0x70c8,0x59d1,0x9648,0x83ab,0x9c7c,0x5f02,0x62b1,0x5b9d,0x6743,0x9c81,0x7b80,0x6001,0x7ea7,0x7968,0x602a,0x5bfb,0x6740,0x5f8b,0x80dc,0x4efd,0x6c7d,0x53f3,0x6d0b,0x8303,0x5e8a,0x821e,0x79d8,0x5348,0x767b,0x697c,0x8d35,0x5438,0x8d23,0x4f8b,0x8ffd,0x8f83,0x804c,0x5c5e,0x6e10,0x5de6,0x5f55,0x4e1d,0x7259,0x515a,0x7ee7,0x6258,0x8d76,0x7ae0,0x667a,0x51b2,0x53f6,0x80e1,0x5409,0x5356,0x575a,0x559d,0x8089,0x9057,0x6551,0x4fee,0x677e,0x4e34,0x85cf,0x62c5,0x620f,0x5584,0x536b,0x836f,0x60b2,0x6562,0x9760,0x4f0a,0x6751,0x6234,0x8bcd,0x68ee,0x8033,0x5dee,0x77ed,0x7956,0x4e91,0x89c4,0x7a97,0x6563,0x8ff7,0x6cb9,0x65e7,0x9002,0x4e61,0x67b6,0x6069,0x6295,0x5f39,0x94c1,0x535a,0x96f7,0x5e9c,0x538b,0x8d85,0x8d1f,0x52d2,0x6742,0x9192,0x6d17,0x91c7,0x6beb,0x5634,0x6bd5,0x4e5d,0x51b0,0x65e2,0x72b6,0x4e71,0x666f,0x5e2d,0x73cd,0x7ae5,0x9876,0x6d3e,0x7d20,0x8131,0x519c,0x7591,0x7ec3,0x91ce,0x6309,0x72af,0x62cd,0x5f81,0x574f,0x9aa8,0x4f59,0x627f,0x7f6e,0x81d3,0x5f69,0x706f,0x5de8,0x7434,0x514d,0x73af,0x59c6,0x6697,0x6362,0x6280,0x7ffb,0x675f,0x589e,0x5fcd,0x9910,0x6d1b,0x585e,0x7f3a,0x5fc6,0x5224,0x6b27,0x5c42,0x4ed8,0x9635,0x739b,0x6279,0x5c9b,0x9879,0x72d7,0x4f11,0x61c2,0x6b66,0x9769,0x826f,0x6076,0x604b,0x59d4,0x62e5,0x5a1c,0x5999,0x63a2,0x5440,0x8425,0x9000,0x6447,0x5f04,0x684c,0x719f,0x8bfa,0x5ba3,0x94f6,0x52bf,0x5956,0x5bab,0x5ffd,0x5957,0x5eb7,0x4f9b,0x4f18,0x8bfe,0x9e1f,0x558a,0x964d,0x590f,0x56f0,0x5218,0x7f6a,0x4ea1,0x978b,0x5065,0x6a21,0x8d25,0x4f34,0x5b88,0x6325,0x9c9c,0x8d22,0x5b64,0x67aa,0x7981,0x6050,0x4f19,0x6770,0x8ff9,0x59b9,0x85f8,0x904d,0x76d6,0x526f,0x5766,0x724c,0x6c5f,0x987a,0x79cb,0x8428,0x83dc,0x5212,0x6388,0x5f52,0x6d6a,0x542c,0x51e1,0x9884,0x5976,0x96c4,0x5347,0x7883,0x7f16,0x5178,0x888b,0x83b1,0x542b,0x76db,0x6d4e,0x8499,0x68cb,0x7aef,0x817f,0x62db,0x91ca,0x4ecb,0x70e7,0x8bef,0x56fa,0x4ef6,0x7248,0x76d1,0x63a7,0x7801,0x80a1,0x9650,0x6280,0x552e,0x670d,0x79d2,0x6b20,0x6e7f,0x8c10,0x8d8b,0x6790,0x7387,0x5c4f,0x68d2,0x5e55,0x8fd4,0x9875,0x5c3e,0x672b,0x5e8f,0x63cf,0x8ff0,0x5733,0x64cd,0x8702,0x9e23,0x95ea,0x70c1,0x2103,0x500d,0x3002,0xff1a,0x63d2,0x7bb1,0x8be6,0x914d,0x5220,0x67dc,0x62e9,0x8f7d,0x6dfb,0x969c,0x7ed1,0x6c83,0x5360,0x8f93,0x69fd,0x5740,0x7f51,0x4e32,0x542f,0x5076,0x9694,0x7b5b,0x6ee4,0x5de1,0x68c0,0x6548,0x63a9,0x5747,0x6c47,0x64ad,0x8377,0x58f3 --font E:\littlevgl\lv_font_conv-master\FontAwesome.ttf -r 61441,61448,61451,61452,61453,61457,61458,61459,61460,61461,61465,61468,61473,61478,61479,61480,61497,61502,61504,61512,61513,61515,61516,61517,61518,61520,61521,61522,61523,61524,61536,61537,61538,61539,61543,61544,61553,61556,61559,61560,61561,61563,61587,61589,61636,61637,61639,61641,61671,61683,61724,61732,61787,61931,62016,62017,62018,62019,62020,62099 --size 20 --format lvgl --bpp 4 --no-compress --no-prefilter -o lv_font_custom_simhei_FontAwesome_20.c

What have you tried so far?

the fail info is shown below:

Code to reproduce

Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.

The code block(s) should be formatted like:

/*You code here*/

Screenshot and/or video

If possible, add screenshots and/or videos about the current state.

The log suggests that FreeType is running out of memory trying to convert the font. It looks like a similar problem to this issue: https://github.com/littlevgl/lv_font_conv/issues/29

I assume Msyh stands for Microsoft Yahei? Are you using the latest version of the font converter?

maybe not the latest. How to check the version?

In the root folder, there should be a file called package.json. The version is located near the top (example).