FlorinTulba / Pic2Sym

The application Pic2Sym approximates images by a grid of colored symbols with colored backgrounds.
0 stars 0 forks source link

Frozen app when switching branches and loading a font used while working with the other branch #6

Closed FlorinTulba closed 7 years ago

FlorinTulba commented 7 years ago

Context: After working with any font family FF on the prototypesCUDA branch, when switching to branch _version2.0 and performing a test with the FF font, the application freezes.

Problem: Floating point precision is different between the 2 branches:

Current Solution: Delete all previously generated files (which would get reused by the new branch) from:

When those files are not found, they get generated using the floating point precision specific to the current branch.

Possible Fixes:

FlorinTulba commented 7 years ago

Fixed by this commit.

Chosen Solution: Forced prototypesCUDA branch to serialize tiny symbols data as double-precision values instead of single-precision.