FG Spreadshirt Swag
  1. #1

    Join Date
    Mar 2009
    Location
    Lidingö, Sweden, Europe
    Posts
    351

    Overiding parent ruleset in favour of grandparent

    I'd like to override my parent ruleset in favor of the grandparent.

    An example: ruleset B is the child of ruleset A and B uses different fonts. Extension (or ruleset) C is based on B but would rather use the fonts used by A.

    It's my understanding that FG first reads A then superimposes any changes made by B and then again superimposes any changes made by C. So, how do I reference the grandparent ruleset? Is this documented somewhere?

    Thanks,
    Peter

  2. #2
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,649
    Blog Entries
    1
    Quote Originally Posted by peterb View Post
    I'd like to override my parent ruleset in favor of the grandparent.

    An example: ruleset B is the child of ruleset A and B uses different fonts. Extension (or ruleset) C is based on B but would rather use the fonts used by A.

    It's my understanding that FG first reads A then superimposes any changes made by B and then again superimposes any changes made by C. So, how do I reference the grandparent ruleset? Is this documented somewhere?

    Thanks,
    Peter
    Reintroduce the fonts from ruleset A in your extension C.

  3. #3

    Join Date
    Mar 2009
    Location
    Lidingö, Sweden, Europe
    Posts
    351
    Do you mean:
    A) Copy grandparents fonts to my own font directory and then reference those in my own graphics_font.xml file? or
    B) Use the grandparents fonts in my graphics_font.xml file and when FG don't find them in the parents font folder, then FG will look for them in the grandparents font folder?

    /Peter

  4. #4
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,649
    Blog Entries
    1
    try just using the fonts xml from the base ruleset.
    im pretty sure that FG will find the actual font files in the previously loaded rulesets.

  5. #5

    Join Date
    Mar 2009
    Location
    Lidingö, Sweden, Europe
    Posts
    351
    OK. Thanks for the help.
    /Peter

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
DICE PACKS BUNDLE

Log in

Log in