xboxscene.org forums

Author Topic: My Font Doesn't Work  (Read 57 times)

orangerhino

  • Archived User
  • Full Member
  • *
  • Posts: 137
My Font Doesn't Work
« on: January 25, 2004, 09:26:00 PM »

Here is how I've set up my font:
---------------------------------------------------------------
</SystemMenu>
   <Resource Type=Font Name=”font”>
      <File>Fontsfont.xpr</File>
   </Resource
---------------------------------------------------------------
<LayoutElement Type="Menu" Source="MXM">
         <Primary Source="Title">
            <Font>font</Font>
            <OffsetY>0</OffsetY>
            <JustifyX>Left</JustifyX>
         </Primary>
         <Secondary Source="Descr">
            <Font>font</Font>
            <OffsetY>0</OffsetY>
            <JustifyX>Center</JustifyX>
         </Secondary>
----------------------------------------------------------------

And it won't show up. It still shows the default font. Did I miss something?
Logged

geniusalz

  • Archived User
  • Hero Member
  • *
  • Posts: 1635
My Font Doesn't Work
« Reply #1 on: January 26, 2004, 12:39:00 AM »

Shouldn't be a problem, but try calling 'font' something else, like 'myfont'
Logged

Yuyu

  • Archived User
  • Hero Member
  • *
  • Posts: 908
My Font Doesn't Work
« Reply #2 on: January 26, 2004, 06:49:00 AM »

Also did you make your own font, or use one from another skin ? You may not have a good font or it may just be it is working, but is very similar looking to the default font, so you cannot recognize the difference...
Logged

orangerhino

  • Archived User
  • Full Member
  • *
  • Posts: 137
My Font Doesn't Work
« Reply #3 on: January 26, 2004, 10:08:00 AM »

Ok I tried re-naming the font and I tried using fonts that were totally crazy so that I could tell the difference but none of them showed up. Is there something in the code that overrides custom fonts?

Edit: Hey geniusalz, could you pm me your e-mail adress so I can send you my XML and font to see if you can try and figure out why it's not working?
Logged