Bug #96

Slow rendering of Unicode texts

Added by I. Denisov almost 4 years ago. Updated over 3 years ago.

Status:ClosedStart date:01/18/2016
Priority:NormalDue date:
Assignee:I. Denisov% Done:

90%

Category:-
Target version:1.7
Forum topic:

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.

Associated revisions

Revision df5d0c32
Added by I. Denisov almost 4 years ago

Fixed string detection in GatherString for nonASCII texts. Refs: #96

Revision aa8fa6fb
Added by I. Denisov almost 4 years ago

Merge pull request #95 from BlackBoxCenter/issue-#96

Fixed string detection in GatherString for nonASCII texts. Refs: #96

History

#1 Updated by I. Denisov almost 4 years ago

  • Description updated (diff)

#2 Updated by I. Denisov almost 4 years ago

  • Description updated (diff)

#3 Updated by I. Denisov almost 4 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)
        )

#4 Updated by I. Denisov almost 4 years ago

  • Status changed from Resolved to Closed

#5 Updated by J. Templ over 3 years ago

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

Also available in: Atom PDF