Informix Error -50105: Attempt to set a non-positive fontSize. Font sizes must be greater than zero.
Cause and resolution
Attempt to set a non-positive fontSize. Font sizes must be greater than zero.
This message is generated by ixApp::setFont() or by ixVisualObject::setFont(). You cannot set a font size to a negative value. This request is ignored.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-50105 is raised by the ixApp class in the Window Painter GUI builder library — per the official guidance:
This message is generated by ixApp::setFont() or by ixVisualObject::setFont(). You cannot set a font size to a negative value. This request is ignored.
- Attempt to set a non-positive fontSize. Font sizes must be greater than zero, per the official guidance — the direct, documented condition.
Solutions / Resolution
- No corrective action is required at the engine/runtime level — the disallowed call is simply ignored, per the official guidance — but the calling code should still be fixed, since relying on the ignore behavior masks a real logic error.
Examples
N/A
No specific triggering statement is documented beyond the class-library condition described above.
Diagnostic Checks
- Check the specific value, object state, or call sequence that
ixAppflags here, against the constraint the official guidance describes.
Related Errors / Related Topics
- -50131 — "Display buffer is full - clear it?" Another
ixApp-related condition in this set. - -50130 — "An attempt was made to close a window while a modal popup window contained by it was still being shown. This is not allowed; close the modal popup window first." Another
ixApp-related condition in this set.
Attempt to set a non-positive fontSize. Font sizes must be greater than zero.