Font already exists exception in samples

Create issue
Issue #168 resolved
Former user created an issue

Automatic migration. Original reporter: "Rackle"

Some .scheme (TaharezLook.scheme for instance) contain an instruction to load a font (Commonwealth-10 font). Calling createFont() with that same font results in a "font already exists" exception. Added a call to isFontPresent() just before the call to createFont(). This is the preferred solution over the removal of createFont() since these are teaching samples.

Reproducibility: always

OS: WinXP, OS build: v0.5.0, Platform: Windows

Comments (1)

  1. Log in to comment