Author Topic: Problems with utf8/new fontsystem  (Read 1065 times)

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Problems with utf8/new fontsystem
« on: 27 June 2011, 21:06:46 »
Some problems with revision 2400:

1) the normally big section headlines use normal fonts now.
(click to show/hide)

2) when I press shift/alt/altgr in the chat ( irc ingame chat or whatever ) the game writes numbers !?
When trying to type special german characters you get sometimes 2 chars at once, but never the right character.
( and the letters in the lobby chat are big )

3) the text overwrites the names in the irc chat
(click to show/hide)

4) in general the new fontsystem is still very blurry( compared to the old one ). Is there a way/idea how to fix it?
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

MuwuM

  • Ornithopter
  • *****
  • Posts: 426
  • No Game without Move(ment)
    • View Profile
    • MuwuM - Lexicons
Re: Problems with utf8/new fontsystem
« Reply #1 on: 27 June 2011, 22:56:36 »
I got a few other errors.

1.  The new fontsystem does not render/show the letter "J"


Look at "Shadows". There is no "j" in "Pro ected". And at Screenshot format there is No "J" in "JPG".

2. When you edit the nickname in the option menu  and you press for example the [backspace] - key there comes an â–¡ instead of removing an letter.

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Problems with utf8/new fontsystem
« Reply #2 on: 28 June 2011, 05:22:50 »
Most of the issues are fixed now in SVN.. the blurry issue is still in svn but I have found out what the problem is and I have a solution to the quality part, unfortunately I need to work out how to properly center the text with my new solution. The quality looks excellent again but need to figure out centering.

EDIT:

Ok I think the blurry issue is all fixed now.. try svn.
« Last Edit: 28 June 2011, 06:19:54 by softcoder »

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Problems with utf8/new fontsystem
« Reply #3 on: 28 June 2011, 12:40:21 »
This is much nicer now!
The text is more readable (the video info screen makes this quite obvious). Upper case umlauts (ÄÖÜ) work on the chat now, and what people are saying no longer overlaps their player names. Pressing shift/alt/altgr etc. on the chat no longer produces any output by itself (it still does on the keyboard config menu, though).

However (sorry ;-) ) :
For me, with the new font system, model movement still seems to stutter a little. Movements are not as 'fluid' as they wre with 3.5.2 (I'm not sure it's the fonts system but it may be). If I look at the 'About' menu and watch the battle mages' legs and feet the the frames seem to blend more fittingly on 3.5.2 than on my SVN head build, and that's even though with the newest builds FPS is slightly higher than with 3.5.2. I assume this is because the new font system somehow make some frames take longer and others shorter.

During text input in chats, Ctrl-J (newline) and Ctrl-Shift-9 (TAB) allow for input of characters which should probably be forbidden.

With the Ubuntu font I have set, many non-standard characters display as boxes. Would it be possible to not echo out any characters the currently selected font does not support? (This is really a minor issue though).

About the issue MuWuM describes on the 'j' character not being displayed - I cannot reproduce this, nor did it seem to happen for titi when he was taking the screenshot of the options menu he posted above. Maybe this is an issue with this specific font? Which font are you using MuWuM?
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
Re: Problems with utf8/new fontsystem
« Reply #4 on: 28 June 2011, 16:20:34 »
To compare with the old font system you may simply pass this on commandline:

Code: [Select]
--enable-legacyfonts
To run using the old font system code. Compare and let me know how it goes.

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: Problems with utf8/new fontsystem
« Reply #5 on: 28 June 2011, 17:21:52 »
I just compared the development builds using (one the one hand) the new font system and (on the other hand) the legacy font system and between those variants there does indeed not seem to be any difference in how the models move.
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