Jump to content
LaunchBox Community Forums
Jason Carr

Including Custom Fonts without Custom DLLs

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

Share this post


Link to post
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.

Share this post


Link to post
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

Share this post


Link to post
Share on other sites
Posted (edited)

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

Share this post


Link to post
Share on other sites
On 3/28/2019 at 10:54 AM, Artik said:

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

when you find out let me know.

Share this post


Link to post
Share on other sites
5 hours ago, wallmachine said:

when you find out let me know.

I'll, but seems more complicated than expected. Let's wait the Jason's answer in the other topic I created :)

Share this post


Link to post
Share on other sites
On 4/14/2019 at 5:41 PM, Artik said:

I'll, but seems more complicated than expected. Let's wait the Jason's answer in the other topic I created :)

 

Enjoy ;)

Share this post


Link to post
Share on other sites

Join the conversation

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

Guest
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...