Jump to content


Photo

Font too big for texture page (?)


  • Please log in to reply
7 replies to this topic

#1 BusyCoder

BusyCoder

    GMC Member

  • GMC Member
  • 17 posts
  • Version:GM:Studio

Posted 04 August 2012 - 06:41 AM

After switching from GM:HTML5 to GM:Studio, I'm getting messages like "Font myFont is too big for texture page, not all glyphs will be visible." when compiling my project. The font is Arial, size 11, bold, anti-aliasing 3, default texture group, 32-127.. Regular stuff. The GM:HTML5 didn't have problem with it. Anyone else getting this? Any suggestion?
  • 0

#2 Oracizan

Oracizan

    Mutant Dreamer

  • GMC Member
  • 341 posts
  • Version:GM:Studio

Posted 04 August 2012 - 06:43 AM

Fonts go on the same texture page as sprites and backgrounds, so this could be happening because you have a lot of either resource.
  • 0

#3 Nocturne

Nocturne

    Nocturne Games

  • Administrators
  • 16795 posts
  • Version:GM:Studio

Posted 04 August 2012 - 06:48 AM

Check you global settings to see if you haven't reduced the t-page size to 256 or something similar.
  • 0

#4 BusyCoder

BusyCoder

    GMC Member

  • GMC Member
  • 17 posts
  • Version:GM:Studio

Posted 04 August 2012 - 07:00 AM

Check you global settings to see if you haven't reduced the t-page size to 256 or something similar.


The Texture page size (under HTML5 tab) in global settings is 2048x2048. I just tried 4096x4096, but I'm still getting the same font warnings.
  • 0

#5 Oracizan

Oracizan

    Mutant Dreamer

  • GMC Member
  • 341 posts
  • Version:GM:Studio

Posted 04 August 2012 - 07:07 AM

Hmm...I submitted this same issue earlier on the bug tracker, because I was getting this message even though I could've sworn that all of my images and fonts were fitting on the texture page. It was marked as resolved/no change required.

If you open the folder that contains your HTML5 files and look at the texture page, you can check to see whether your fonts are completely on the page. If everything appears to in order and you see everything you're supposed to, I'd submit another bug report about the issue.
  • 0

#6 Nocturne

Nocturne

    Nocturne Games

  • Administrators
  • 16795 posts
  • Version:GM:Studio

Posted 04 August 2012 - 07:08 AM

Have you viewed the texture page? In the Global Game Settings, there should be a button to view them.... You will then be able to see what is happening. Also, can you post a screen of your font dialogue?


Hmm...I submitted this same issue earlier on the bug tracker, because I was getting this message even though I could've sworn that all of my images and fonts were fitting on the texture page. It was marked as resolved/no change required.

If you open the folder that contains your HTML5 files and look at the texture page, you can check to see whether your fonts are completely on the page. If everything appears to in order and you see everything you're supposed to, I'd submit another bug report about the issue.


Interesting.... This may well be a bug then. Post a bug report if the texture pages all seem in order, please! Export a gmz that shows the problem (FILE>>>EXPORT) and attach that too.

Edited by Nocturne, 04 August 2012 - 07:11 AM.

  • 0

#7 BusyCoder

BusyCoder

    GMC Member

  • GMC Member
  • 17 posts
  • Version:GM:Studio

Posted 04 August 2012 - 07:40 AM

Nothing seems to be missing in the texture page. All the fonts even have some extra space there on their last lines. Here is the message: Posted Image .. Bug report later.. Thanks all..
  • 0

#8 BusyCoder

BusyCoder

    GMC Member

  • GMC Member
  • 17 posts
  • Version:GM:Studio

Posted 04 August 2012 - 09:35 PM

Bug report posted (#0005868)

Edited by BusyCoder, 04 August 2012 - 09:41 PM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users