Jump to content

Font Outline


Alexpuk2002
 Share

Recommended Posts

Since the font files have slightly changed in this years FM it seems my previous font file no longer works as it used to. I used to have a font xml that was configured to show in the game as white font with a black outline. I have renamed the xml file to fontxml but it just shows as black text now. My xml from FM19 is configured as below.

<record>
    <string id="file_name" value="Arimo-Bold.ttf"/>

    <string id="capitalisation" value="upper case" />
    
    <integer id="stroke_colour_red" value="0"/>
    <integer id="stroke_colour_green" value="0"/>
    <integer id="stroke_colour_blue" value="0"/>
    <integer id="stroke_colour_alpha" value="160"/>
    <real id="stroke_width" value="1.000000"/>    
</record>
 

Link to post
Share on other sites

Looks like a slight name change in the global panel xml anyway.

                <record>
                    <flags id="style" value="outlined" />
                    <real id="stroke_width" value="1.0" />
                </record>

Link to post
Share on other sites

  • 2 weeks later...

Has anyone managed to apply an outline to fonts? I have tried several variations and they all cause the game to crash.

I would like to apply an outline to certain text, but the outline colour must be the clubs primary or secondary colour. The text itself will need to be the clubs primary or secondary colour too. Both will be the opposite of each other.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...