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
@ -271,6 +271,8 @@ void qr_binary(int datastream[], int version, int target_binlen, char mode[], in
|
||||
|
||||
prod = ((jis >> 8) * 0xc0) + (jis & 0xff);
|
||||
|
||||
qr_bscan(binary, prod, 0x1000);
|
||||
|
||||
if (debug) {
|
||||
printf("0x%4X ", prod);
|
||||
}
|
||||
@ -1766,8 +1768,6 @@ int micro_qr_intermediate(char binary[], int jisdata[], char mode[], int length,
|
||||
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