[SOLVED] Layout Editor Not Finding fonts on startup

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

daves
Home away from home
Home away from home
Posts: 253
Joined: Thu Feb 02, 2006 20:12

[SOLVED] Layout Editor Not Finding fonts on startup

Postby daves » Thu Mar 20, 2008 13:00

I just installed the 0.6 version of the layout editor. I have set up my ini follow as follows:

    [SETTINGS]
    BigKeyStep=10
    SmallKeyStep=1
    DefaultFont=
    CurrentBackground=
    BackgroundVisible=0
    CurrentLayout=
    ViewWidth=640
    ViewHeight=480
    SnapMode=2
    GridSize=10
    GridVisible=0
    ConfigsPath=C:\Development\build\svt\Media\GUI
    FontsPath=C:\Development\build\svt\Media\GUI
    ImagesetsPath=C:\Development\build\svt\Media\GUI
    LookNFeelsPath=C:\Development\build\svt\Media\GUI
    ScriptsPath=C:\Development\build\svt\Media\GUI
    SchemesPath=C:\Development\build\svt\Media\GUI
    SupportedProperties=Alpha,float;ClickStepSize,float;MaximumValue,float;Visible,bool;AlwaysOnTop,bool;ClippedByParent,bool;InheritsAlpha,bool;Selected,bool;ReadOnly,bool;CloseButtonEnabled,bool;DragMovingEnabled,bool;FrameEnabled,bool;SizingEnabled,bool;TitlebarEnabled,bool;MultiSelect,bool;Sort,bool;DraggingEnabled,bool;BackgroundEnabled,bool;InheritsTooltipText,bool;HoverImage,text;PushedImage,text;DisabledImage,text;NormalImage,text;Font,font;TitlebarFont,font;VerticalAlignment,vert_align;HorizontalAlignment,horz_align;VertFormatting,vert_text_format;HorzFormatting,horz_text_format;Tooltip,text;Image,text;TextColours,text;


I get an error message when I try to run the editor that says it can not find the three fonts defined in my scheme file:
    <Font Name="Tahoma-12" Filename="tahoma-12.font" />
    <Font Name="Tahoma-10" Filename="tahoma-10.font" />
    <Font Name="Tahoma-8" Filename="tahoma-8.font" />

These fonts are in the directory specified within my ini file (as above).

    C:\Development\build\svt\Media\GUI

This single directory contains my imagesets, my fonts, my schemes, and my looknfeels. It is also the directory that my run-time application references (and everything is found just fine).

Why cant the layout editor find the appropriate resources?

Solution:

Path requires a terminating slash.

    C:\Development\build\svt\Media\GUI\

Return to “Help”

Who is online

Users browsing this forum: No registered users and 18 guests