Skip to content

half-width character display bug! #1247

@heyhumor

Description

@heyhumor

Describe the bug

Recently, I find a bug with function [ Page.add_freetext_annot() ].
When i put text with half-width character, just like '9999キ', '9999ウ' or '9999タ', the number '9999' will display with full-with mode.
But when i double click with this freetext annotation , It's back to normal, confused a lot.

Code

page.add_freetext_annot(rect=fitz.Rect(353, 687, 365, 750), text='9999タ', align=1, rotate=90,
fontname='HeIt', fontsize=12, fill_color=(1, 0.75, 0.80))
2021-09-09_083314

Metadata

Metadata

Assignees

Labels

not a bugnot a bug / user error / unable to reproduce

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions