… | |
… | |
275 | |
275 | |
276 | bool has_codepoint (uint32_t unicode) |
276 | bool has_codepoint (uint32_t unicode) |
277 | { |
277 | { |
278 | if (unicode <= 0x001f) |
278 | if (unicode <= 0x001f) |
279 | return true; |
279 | return true; |
|
|
280 | |
280 | if (unicode >= 0x0080 && unicode <= 0x009f) |
281 | if (unicode >= 0x0080 && unicode <= 0x009f) |
281 | return true; |
282 | return true; |
282 | |
283 | |
283 | if (unicode >= 0x2500 && unicode <= 0x257f |
284 | if (unicode >= 0x2500 && unicode <= 0x257f |
284 | && linedraw_cmds[unicode - 0x2500]) |
285 | && linedraw_cmds[unicode - 0x2500]) |
|
|
286 | return true; |
|
|
287 | |
|
|
288 | if (IS_PSEUDO (unicode)) |
285 | return true; |
289 | return true; |
286 | |
290 | |
287 | switch (unicode) |
291 | switch (unicode) |
288 | { |
292 | { |
289 | case ZERO_WIDTH_CHAR: |
293 | case ZERO_WIDTH_CHAR: |
… | |
… | |
344 | } |
348 | } |
345 | } |
349 | } |
346 | |
350 | |
347 | gcv.line_width = 0; |
351 | gcv.line_width = 0; |
348 | XChangeGC (d.display->display, GC, GCLineWidth, &gcv); |
352 | XChangeGC (d.display->display, GC, GCLineWidth, &gcv); |
|
|
353 | } |
|
|
354 | else if (IS_PSEUDO (t)) |
|
|
355 | { |
|
|
356 | const compose_char &cc = r->composite (t); |
|
|
357 | (void)0; //D ADD pseudo handling here |
349 | } |
358 | } |
350 | else |
359 | else |
351 | switch (t) |
360 | switch (t) |
352 | { |
361 | { |
353 | case ZERO_WIDTH_CHAR: |
362 | case ZERO_WIDTH_CHAR: |