Operating System: fedora 27
Render System: GL
Right now I'm having trouble with font scripts not being recognized as font resources. I'm trying to load in font scripts from a directory using
Code: Select all
Ogre::ResourceGroupManager &resgroup = Ogre::ResourceGroupManager::getSingleton();
Ogre::FontManager &fontMan = Ogre::FontManager::getSingleton();
fontMan.setVerbose(true);
resgroup.addResourceLocation(font_dir, "FileSystem", "DspaceOgre-fonts", true);
resgroup.initialiseResourceGroup("DspaceOgre-fonts");
Here is the bottom section of my log output:
Code: Select all
******************************
*** Starting GLX Subsystem ***
******************************
GLX_VERSION = 1.4
GLX_EXTENSIONS = GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_visual_info GLX_EXT_visual_rating GLX_EXT_import_context GLX_SGI_video_sync GLX_NV_swap_group GLX_NV_video_out GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGI_swap_control GLX_EXT_swap_control GLX_EXT_swap_control_tear GLX_EXT_buffer_age GLX_ARB_create_context GLX_ARB_create_context_profile GLX_NV_float_buffer GLX_ARB_fbconfig_float GLX_EXT_fbconfig_packed_float GLX_EXT_texture_from_pixmap GLX_EXT_framebuffer_sRGB GLX_NV_present_video GLX_NV_copy_image GLX_NV_copy_buffer GLX_NV_multisample_coverage GLX_NV_video_capture GLX_EXT_create_context_es_profile GLX_EXT_create_context_es2_profile GLX_ARB_create_context_no_error GLX_ARB_create_context_robustness GLX_NV_delay_before_swap GLX_EXT_stereo_tree GLX_ARB_context_flush_control GLX_NV_robustness_video_memory_purge
Registering ResourceManager for type Texture
OverlayElementFactory for type Panel registered.
OverlayElementFactory for type BorderPanel registered.
OverlayElementFactory for type TextArea registered.
Registering ResourceManager for type Font
CPU Identifier & Features
-------------------------
* CPU ID: GenuineIntel: Intel(R) Xeon(R) CPU E5-2630 0 @ 2.30GHz
* SSE: yes
* SSE2: yes
* SSE3: yes
* SSE41: yes
* SSE42: yes
* MMX: yes
* MMXEXT: yes
* 3DNOW: no
* 3DNOWEXT: no
* CMOV: yes
* TSC: yes
*INVARIANT TSC: yes
* FPU: yes
* PRO: yes
* HT: no
-------------------------
******************************
*** Starting GLX Subsystem ***
******************************
GLX_VERSION = 1.4
GLX_EXTENSIONS = GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_visual_info GLX_EXT_visual_rating GLX_EXT_import_context GLX_SGI_video_sync GLX_NV_swap_group GLX_NV_video_out GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGI_swap_control GLX_EXT_swap_control GLX_EXT_swap_control_tear GLX_EXT_buffer_age GLX_ARB_create_context GLX_ARB_create_context_profile GLX_NV_float_buffer GLX_ARB_fbconfig_float GLX_EXT_fbconfig_packed_float GLX_EXT_texture_from_pixmap GLX_EXT_framebuffer_sRGB GLX_NV_present_video GLX_NV_copy_image GLX_NV_copy_buffer GLX_NV_multisample_coverage GLX_NV_video_capture GLX_EXT_create_context_es_profile GLX_EXT_create_context_es2_profile GLX_ARB_create_context_no_error GLX_ARB_create_context_robustness GLX_NV_delay_before_swap GLX_EXT_stereo_tree GLX_ARB_context_flush_control GLX_NV_robustness_video_memory_purge
Registering ResourceManager for type Texture
Added resource location '/home/atbe/dev/users/jholesinger/OgreStandalone/src/DspaceOgre/ogre_11_fonts' of type 'FileSystem' to resource group 'DspaceOgre-fonts' with recursive option
Initialising resource group DspaceOgre-fonts
Font proportional has existence: 0
List size: 0
Names size: 7
ResourceName: proportional-serif.fontdef
ResourceName: proportional.ttf
ResourceName: proportional-serif.ttf
ResourceName: monospaced.ttf
ResourceName: proportional.font
ResourceName: proportional.fontdef
ResourceName: monospaced.fontdef