trompetin17 Posted March 4 Share Posted March 4 4 minutes ago, Grapjas said: that file is in the binaries/data/mods/mod/mod.zip file btw not in the usual binaries/data/public/public.zip where we mod. Just a heads up for people looking for it. or here https://gitea.wildfiregames.com/0ad/0ad/src/branch/main/binaries/data/mods/mod/gui/gui.rng Link to comment Share on other sites More sharing options...
Stan` Posted March 4 Share Posted March 4 @trompetin17 how about, so no more changes needed <param name="pattern">([a-z]+)-(bold-|italic-)?(stroke-)?[0-9]{1,3}</param> 1 Link to comment Share on other sites More sharing options...
trompetin17 Posted March 4 Share Posted March 4 16 minutes ago, Stan` said: @trompetin17 how about, so no more changes needed <param name="pattern">([a-z]+)-(bold-|italic-)?(stroke-)?[0-9]{1,3}</param> Sure i will provide the PR later , it is on my radar Link to comment Share on other sites More sharing options...
trompetin17 Posted March 4 Share Posted March 4 3 hours ago, Stan` said: @trompetin17 how about, so no more changes needed <param name="pattern">([a-z]+)-(bold-|italic-)?(stroke-)?[0-9]{1,3}</param> https://gitea.wildfiregames.com/0ad/0ad/pulls/8792 =D 1 1 Link to comment Share on other sites More sharing options...
Perzival12 Posted Friday at 18:33 Author Share Posted Friday at 18:33 So, I've been trying to get the fonts to work, and while I can replace fonts: (config/Hyrule-Conquest-Dev.cfg) [fonts.sans] regular = "triforce.ttf" bold = "triforce.ttf" italic = "triforce.ttf" When I try to add new fonts: (config/Hyrule-Conquest-Dev.cfg) [fonts.triforce] regular = "triforce.ttf" bold = "triforce.ttf" italic = "triforce.ttf" (gui/common/styles.xml) <style name="ManualText" font="triforce-regular-14" buffer_zone="8" scrollbar="true" scrollbar_style="ModernScrollBar" textcolor="black" text_align="left" text_valign="center" /> (gui/HC_manual/HC_manual.xml) <object type="image" sprite="ModernParch" size="220 30 100%-20 100%-54"> <object name="creditsText" type="text" style="ManualText" size="20 20 100% 100%" text_align="left" scroll_top="true"/> </object> I get this: Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now