Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7627831
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T05:30:48+00:00 2026-05-31T05:30:48+00:00

I have been trying to use some custom fonts within my WP7 app. I

  • 0

I have been trying to use some custom fonts within my WP7 app.

I followed the example as per http://www.jeffblankenburg.com/2010/10/24/31-days-of-windows-phone-day-24-embedding-fonts/ but in my project it simply will not pick up the custom font.
I have downloaded the sample project in this example and this one does work okay.

So, I have now used the same font used in there, and included in my project. I have ensured that the properties on the file are identical (Build Action = ‘Content’ and Copy To Output Directory = “Always”)

I have used in my XAML in exactly the same way i.e.

  FontFamily="Fonts/DigitalDream.ttf#Digital Dream" FontSize="24"

But to no avail. The custom font is just ignored. Is there something that I am missing, or a setting .. anything that would allow this to work in one project, but not another?

I have discovered that it will work if my XAML page is defined at the root level, i.e. immediately under the project, but in my case I have it in a ‘Views’ folder.

My understanding was that
FontFamily=”/Fonts/DigitalDream.ttf#Digital Dream” FontSize=”24″

should start at the root folder of the project?

  • thanks
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T05:30:49+00:00Added an answer on May 31, 2026 at 5:30 am

    Custom fonts can be a little tricky. I spent several hours once trying to embed an .otf font only to find that it just didn’t seem to be doable.

    You’re on the right track, though. A .ttf font should be embedable. It’s hard to get the right combination of paths and filenames to make the font work, though.

    The easiest way I’ve found to handle some of these more difficult “magic string” type of situations in XAML is to let Expression Blend do the heavy lifting.

    Here’s a blog post about using Blend to embed fonts. The nice thing about using Blend is that it gives you some visual indications that things are set up correctly–i.e. you can see the font you want in the font selection menu. This is what finally clued me in on the .otf issue. I couldn’t see the font in Blend.

    And here’s an example of a custom font that I’ve used in one of my apps:

    <TextBlock Name="MyTextblock"
       FontFamily="/MyAppName;component/fonts/Fonts.zip#Segoe UI Mono">
    

    That’s FontFamily URI is a pain to get right. I’m pretty sure that’s your problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been trying to use the hibernate dialect for SQLite from http://code.google.com/p/hibernate-sqlite/ in
i have been trying to use some ajax to save venue location in my
Here's a mockup: A mockup http://img.skitch.com/20090228-mqdj17xijycc98spf181a8q6q7.jpg I have been trying to find some sample
I have been trying to use the Perl utility/module "prove" as a test harness
I have been trying to use routes.rb for creating a URL /similar-to-:product (where product
I have been trying to use/save the boolean value of a checkbox in other
I have been trying to use 3rd party tool called visiblox for rendering charts
I have been trying to use the document.getElementByID to pull information from an HTML
Right now I have been trying to use Launchpad's API to write a small
Ok I'm stumped. I have been trying to use Simpletip to create a tooltip

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.