Rendering Settings Font

Problems building or running the engine, queries about how to use features etc.
Post Reply
Ryan8
Gnoblar
Posts: 17
Joined: Wed Jul 27, 2022 2:38 am
x 2

Rendering Settings Font

Post by Ryan8 »

Ogre Version: 13.4.4
Operating System: Linux Manjaro
Render System: OpenGL 3+

Hello

I've been learning Ogre and have successfully completed the first 4 tutorials. However, there's a problem that I can't work out. The Rendering Settings window font is not right as you can see below.

Image

Looks like someone else had this problem also:
viewtopic.php?p=550900&hilit=foreign+font#p550900

Does anyone know how to fix? I'm using the current ogre version (13.4.4) installed from source and I also tried the Manjaro package version 13.4.1 with the same problem.

There are no run errors up until the Render Settings. But after I click the "Accept" button (in foreign font), the CamerasAndShadows tutorial seems to run fine, except with some errors shown below. I'm not sure if these errors are related to the font issue but I've included anyway for reference.

Thank you

Code: Select all

Parsing scripts for resource group General
Parsing script pbr.program
Parsing script pbr_filament.program
Program 'PBR_filament_vs_glsl' is not supported: 'pbr_filament.vert.glsl' 0:11(1): error: #extension directive is not allowed in the middle of a shader
Error: ScriptCompiler - invalid parameters in pbr_filament.program(21): Named constants have not been initialised, perhaps a compile error
Error: ScriptCompiler - invalid parameters in pbr_filament.program(32): Named constants have not been initialised, perhaps a compile error
Error: ScriptCompiler - invalid parameters in pbr_filament.program(94): Parameter called light_ssao does not exist. 
Parsing script StdQuad_vp.program
Parsing script Instancing.program
Parsing script Examples.program
Parsing script ShadowCaster.program
Parsing script deferred_post.program
Parsing script glTF2_PBR.material
Error: ScriptCompiler - invalid parameters in glTF2_PBR.material(79): Parameter called u_ScaleFGDSpec does not exist. 
Error: ScriptCompiler - invalid parameters in glTF2_PBR.material(80): Parameter called u_ScaleDiffBaseMR does not exist. 
Parsing script filament.material
Parsing script ShaderInstancing.material
Parsing script Dither.material
Parsing script Penguin.material
Parsing script Swizzle.material
Error: ScriptCompiler - invalid parameters in Swizzle.material(31): input_operation_type
Error: ScriptCompiler - invalid parameters in Swizzle.material(32): output_operation_type
Error: ScriptCompiler - invalid parameters in Swizzle.material(33): max_output_vertices
Program 'Ogre/GPTest/Swizzle/GP_GLSL_150' is not supported: 'SwizzleGP.glsl' 0:25(12): warning: extension `GL_EXT_geometry_shader4' unsupported in geometry shader
0:25(1): error: #extension directive is not allowed in the middle of a shader
Error: ScriptCompiler - invalid parameters in Swizzle.material(68): Named constants have not been initialised, perhaps a compile error
Error: ScriptCompiler - invalid parameters in Swizzle.material(69): Named constants have not been initialised, perhaps a compile error
Parsing script HardwareSkinningShadow.material
Parsing script HWInstancing.material
Parsing script Embossed.material
...
...
Texture 'nskingr.jpg': Loading 1 faces(PF_B8G8R8,512x512x1) with 9 hardware generated mipmaps from Image. Internal format is PF_B8G8R8,512x512x1.
Texture 'rockwall.tga': Loading 1 faces(PF_B8G8R8,256x256x1) with 8 hardware generated mipmaps from Image. Internal format is PF_B8G8R8,256x256x1.
ed4a40c1f22c759ffb6e40924b9dda9b_VS
33f5f61923c367edb09bf49f36cee227_FS
GLSL program pipeline validation result: 
0:11(1): error: #extension directive is not allowed in the middle of a shader
paroj
OGRE Team Member
OGRE Team Member
Posts: 1995
Joined: Sun Mar 30, 2014 2:51 pm
x 1075
Contact:

Re: Rendering Settings Font

Post by paroj »

does this work correctly?

Code: Select all

xmessage -print test
Ryan8
Gnoblar
Posts: 17
Joined: Wed Jul 27, 2022 2:38 am
x 2

Re: Rendering Settings Font

Post by Ryan8 »

I didn't have xmessage installed but I just installed it and seemed to work with a warning. Maybe the foreign font is more of an issue with my system configuration instead of Ogre. Although my Manjaro installation was pretty standard. I'll try changing some system configurations but if you have any ideas that would be much appreciated.

Code: Select all

xmessage -print test
Warning: Missing charsets in String to FontSet conversion

Image

Ryan8
Gnoblar
Posts: 17
Joined: Wed Jul 27, 2022 2:38 am
x 2

Re: Rendering Settings Font

Post by Ryan8 »

I've fixed the problem but can't confirm exactly how. I tried changing the locale settings by various methods but this didn't seem to make a difference. The last change I made was installing/removing these Manjaro font packages and a system restart:

install xorg-fonts-misc
install noto-fonts-cjk
remove ttf-indic-otf

The font problem also occurred with xfontsel, xmessage "test". Some web searches indicate similar issue on Manjaro systems.

Thanks paroj

Post Reply