Baked-in fonts aren't statically available at compile-time yet. #37

Closed
opened 2024-12-09 18:27:44 -05:00 by josh · 1 comment
Owner

Yes, the Jupiteroid font data is baked into source code, and the symbol is exposed to the external API. However, I have already found out the hard way that assigning a non-pointer variable to the Jupiteroid variable before calling JGL::Init() results in a NULL font object, and attempting to use it causes segmentation faults.

I don't know if it is fully possible, but if so, I will work on making this viable.

Yes, the Jupiteroid font data is baked into source code, and the symbol is exposed to the external API. However, I have already found out the hard way that assigning a non-pointer variable to the Jupiteroid variable before calling JGL::Init() results in a NULL font object, and attempting to use it causes segmentation faults. I don't know if it is fully possible, but if so, I will work on making this viable.
Collaborator

This is not possible. It would depend too much on initialization order. Anything JGL related only becomes available after JGL::Init

This is not possible. It would depend too much on initialization order. Anything JGL related only becomes available after JGL::Init
josh added the
Reviewed
Won't Fix
label 2025-04-10 14:43:49 -04:00
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: josh/JGL#37
No description provided.