armory3d / armortools

3D Content Creation Tools
https://armorpaint.org
Other
3.3k stars 336 forks source link

Freeze while importing some fonts #1151

Open MathemanFlo opened 3 years ago

MathemanFlo commented 3 years ago

ArmorPaint version: ArmorPaint.org - v0.9 (2021-10-05) - bd87056 Windows - Direct3D11

Issue description: ArmorPaint freezes while importing fonts like Wingdings oder Webdings. It also happens if I import the whole Calibri font family

Steps to reproduce:

  1. Go to C:\Windows\Fonts
  2. Drag and drop Wingdings or Webdings to ArmorPaint
  3. ArmorPaint freezes
shiena commented 3 years ago

The reason for the freeze is probably that Wingdings and Webdings do not include the glyph "Abg" for preview.

MathemanFlo commented 3 years ago

The reason for the freeze is probably that Wingdings and Webdings do not include the glyph "Abg" for preview.

I also thought that this is the case but I doubt it, because it also happens for Calibri, which is a "normal" font family and Webdings/Wingdings contains glyphs for A,b and g but they are symbols like a bike in case of b in Webdings.

MathemanFlo commented 2 years ago

Some additional details

Thus it is probably a kha bug.