Jump to content
LaunchBox Community Forums

Including Custom Fonts without Custom DLLs


Jason Carr

Recommended Posts

1 hour ago, Artik said:

Checked again and again, but I don't see where the path is wrong :S

(Font downloaded from Dafont, and I checked the name. "#Blazed" is correct)

I haven't played with startup themes but for a typical theme I have my custom fonts housed within a Theme Subfolder called Fonts and the font solution works as advertised.

 

 

example.png

example2.png

Link to comment
Share on other sites

Yes @y2guru I also finally managed to display custom fonts. My only concern, is that it seems impossible to change the font size + custom font. Did you manage to change the games list custom font and changing the font size at the same time? If yes, I'd love to know what I'm doing wrong.

Link to comment
Share on other sites

1 minute ago, Artik said:

Yes @y2guru I also finally managed to display custom fonts. My only concern, is that it seems impossible to change the font size + custom font. Did you manage to change the games list custom font and changing the font size at the same time? If yes, I'd love to know what I'm doing wrong.

ah ok, well 1. that's great you got the font solution working!  2. I haven't tried overriding the text styles yet

Link to comment
Share on other sites

I'll search more ;)

 

I'm also stuck with the "Recent" and "Favorite" titles.

MOsEfqG.jpg

 

EDIT! Founded. I added in ThumbnailListView.xaml

FontFamily="LAUNCHBOX_ROOT_FOLDER/Themes/CityHunter 2/Fonts/FreeDesign001Bitbit.ttf#FreeDesign001Bitbit" FontSize="20"

The bloc:

    <DockPanel HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
        <TextBlock Name="Title" DockPanel.Dock="Top" Foreground="White" FontFamily="LAUNCHBOX_ROOT_FOLDER/Themes/CityHunter 2/Fonts/FreeDesign001Bitbit.ttf#FreeDesign001Bitbit" FontSize="20" />
        <ListBox Name="Items" Style="{DynamicResource ThumbnailListBoxStyle}" SelectedItem="{Binding SelectedItem}" >
            <i:Interaction.Triggers>
                <i:EventTrigger EventName="MouseDoubleClick">
                    <cal:ActionMessage MethodName="OnEnter" />
                </i:EventTrigger>
            </i:Interaction.Triggers>
        </ListBox>
    </DockPanel>

?

 

Now only the gamelist fontsize + custom font to solve ...

Edited by Artik
Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...