Jump to content
  • Advertisement
Sign in to follow this  

wglUseFontOutlines ERROR CODE 8

This topic is 3513 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

WglUseFontOutlines function returns an error, someone could tell me why? What am I doing wrong? GLuint base; GLYPHMETRICSFLOAT gmf[256]; HDC hDC = wglGetCurrentDC(); font = CreateFont( 0,0,0,0,FW_DONTCARE,FALSE,FALSE, FALSE, ANSI_CHARSET, OUT_TT_PRECIS, CLIP_DEFAULT_PRECIS, ANTIALIASED_QUALITY, FF_DONTCARE|DEFAULT_PITCH, (__in_opt LPCWSTR)"Wingdings"); base = glGenLists(256); // Storage For 256 Characters SelectObject(hDC, font);// Selects The Font We Created wglUseFontOutlines(hDC,// Select The Current DC 0,// Starting Character 255,// Number Of Display Lists To Build base,// Starting Display Lists 10.0f,// Deviation From The True Outlines 0.1f,// Font Thickness In The Z Direction WGL_FONT_POLYGONS,// Use Polygons, Not Lines gmf); ERROR_NOT_ENOUGH_MEMORY code 8 (0x8)"Not enough storage is available to process this command."

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!