WPF Custom fonts problem -



WPF Custom fonts problem -

this weird. in blend 4, custom font works when see application in designer, when run it, font gone , goes arial or something. xaml:

<textblock text="text g" fontfamily="/projectname;component/fonts/#futura lt bt" fontsize="48" background="#ffc44747" />

the font in folder called "fonts" , command in i'm trying font in folder called "controls". know must problem relative position of "fonts" folder "controls" folder, i've tried lot of stuff , doesn't work.

also, xaml markup set there blend creates when select custom font. font copied resource right (i check csprof file , it's there).

any ideas? has been kicking butt couple hours now.

thanks.

everywhere on net , in books says when add together font should set build action "resource" (example here). , 'worked while. anyway, prepare problem, had alter "resource" "content".

wpf fonts

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -