Author Topic: [not a bug] svn-2594: FTGL # 2 Error = 1282 [invalid operation] ...  (Read 2026 times)

james876

  • Guest
Today, I tested the svn-2594, discovered a problem: in the game options, I choose the language is Chinese, and then I change the font size, from 0 to 5, I chose the font size is 5, then I entered the game play, this time I found the console an error message: ** FTGL # 2 Error = 1282 [invalid operation] for text [50/300 (0)] currentFTGLErrorCount = 0
 My operating system is: win7 32bit, thank you!
« Last Edit: 12 October 2011, 03:26:55 by softcoder »

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: svn-2594 Error!
« Reply #1 on: 3 October 2011, 08:55:24 »
James, once again, please
* report issues in the bug reports forums.
* use more descriptive subjects than "error".

You can put your operating system and version into your forum signature so you don't need to post this every time.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Try the current svn on Chinese and see if the new font works better.

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
I split up James' post here since it was about two different issues. Here's what he had posted about this issue:

Quote from: james876
Today I tested the SVN - 2610, When I change the font size, the error appears again. thank you!
This is the console output error message:
Code: [Select]
** FTGL # 2 Error = 1282 [invalid operation] for text [50/150 (0)] currentFTGLErrorCount = 0
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
This error will show if you choose a font + font size that cannot display one or more characters of text on a given screen. The good news is that the font code will no longer crash when it tries to render a character that it cannot handle for the current font configuration but will just output such and error to the console. Selecting a different font size or font + font size combination fixes the issue.

Thanks

james876

  • Guest
Error from happening again:(chinese.lng)
Code: [Select]
[.. \ .. \ source \ shared_lib \ sources \ graphics \ gl \ font_textFTGL.cpp:: Shared:: Graphics
 :: Gl:: TextFTGL:: Render] Line 241 Error = 1282 [invalid operation] for text [50/150 (0)]

BTW:I chose the English language, I set the font to 5, into the game play, then I found this problem again (the console output the same error message),
 Wondering why I chose the Chinese language, and then set the font size, font size has not changed, but you can see the English language adaptation of the font size of the effect???

thank you
« Last Edit: 6 October 2011, 04:37:44 by Omega »

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Read what softcoder wrote above! Use Google translate to understand!
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

james876

  • Guest
I already understand the softcoder write the meaning of those remarks, but this is a real problem, I think it should be repaired.
 If you think that there is no need to fix it, I will give up report on this issue, thank you!

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
The fact that you consider this to be a "real problem" makes me, too, think that you did not really understand that this issue cannot be fixed by us, but depends on which font you use. If you find a good free (CC-BY-SA compatible license) font which can display all characters you need then please let us know.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

 

anything