Project

General

Profile

Actions

Bug #96

closed

Slow rendering of Unicode texts

Added by I. Denisov almost 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
01/18/2016
Due date:
% Done:

90%

Estimated time:

Description

Rendering text with Unicode characters, for example Cyrillic texts, is slow and of poor quality. The reason is that in TextSetters.GatherString Cyrillic and other non-ASCII characters are treated as one string per character. By adding a rule for Strings.IsAlpha() it would be possible to produce longer strings that contain arbitrary Unicode characters.

Reported by Ivan Denisov, 2016-01-18.

Actions #1

Updated by I. Denisov almost 10 years ago

  • Description updated (diff)
Actions #2

Updated by I. Denisov almost 10 years ago

  • Description updated (diff)
Actions #3

Updated by I. Denisov almost 10 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 20 to 90

The fix was found. The only string should be added.

      & (   (" " < ch) & (ch <= "~") & (ch # "-")
        OR  (ch = digitspace)
        OR  (ch >= nbspace) & (ch < 100X) & (ch # softhyphen)
        OR Strings.IsAlpha(ch)
        )
Actions #4

Updated by I. Denisov almost 10 years ago

  • Status changed from Resolved to Closed
Actions #5

Updated by J. Templ over 9 years ago

  • Subject changed from Rendering unicode strings to Slow rendering of Unicode texts
  • Description updated (diff)
Actions

Also available in: Atom PDF