mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Kanji works better if data is read to symbol :)
This commit is contained in:
parent
a8077535b2
commit
92f02c8a67
@ -270,6 +270,8 @@ void qr_binary(int datastream[], int version, int target_binlen, char mode[], in
|
||||
jis -= 0xc140;
|
||||
|
||||
prod = ((jis >> 8) * 0xc0) + (jis & 0xff);
|
||||
|
||||
qr_bscan(binary, prod, 0x1000);
|
||||
|
||||
if (debug) {
|
||||
printf("0x%4X ", prod);
|
||||
@ -1765,8 +1767,6 @@ int micro_qr_intermediate(char binary[], int jisdata[], char mode[], int length,
|
||||
for (i = 0; i < short_data_block_length; i++) {
|
||||
int jis = jisdata[position + i];
|
||||
int prod;
|
||||
|
||||
int jis = jisdata[position + i];
|
||||
|
||||
if (jis >= 0x8140 && jis <= 0x9ffc)
|
||||
jis -= 0x8140;
|
||||
|
Loading…
Reference in New Issue
Block a user