问题描述
我来自一个非常基于设计的背景,并试图了解Expression Blend ...第
周我要使用4在我的项目中Helvetica Neue字体系列的权重:"65 Medium","66 Medium Italic","75 Bold",& "76 Bold Italic"。这是我目前的XAML(似乎自动/随机选择"65 Meidium"):
< TextBox Text ="字体测试" TextWrapping = QUOT;包覆与QUOT; FontFamily =" ./ Fonts \#Helvetica Neue LT Std"字号= QUOT; 22" fontWeight设置= QUOT;正常" FontStyle = QUOT;斜体" />
如你所见,我尝试过FontWeight& amp; FontStyle选项,但这只是强制字体为Bold或Italic,并且对于任何设计为具有这些属性的字体都会执行相同的操作。
如何将其添加到使用字体系列中的正确字体文件? Blend不是设计师计划吗?
请,任何人?
亲切的问候,
大卫。
Hi,
I am from a very design based background and trying to get my head around Expression Blend...
I want to use 4 weights of the Helvetica Neue font family in my project: "65 Medium", "66 Medium Italic", "75 Bold", & "76 Bold Italic".
This is my XAML currently (which seems to automaticly / randomly select "65 Meidium"):
<TextBox Text="font testing" TextWrapping="Wrap" FontFamily="./Fonts\#Helvetica Neue LT Std" FontSize="22" FontWeight="Normal" FontStyle="Italic" />
As you can see, I've tried the FontWeight & FontStyle options, but this is just forcing the font to be Bold or Italic, and would do the same for any font wether it had been designed to have these properties or not.
How do I get it to use the correct font files from the font family? Is Blend not a designers program?
Please, anybody?
Kind regards,
David.
推荐答案
<TextBox Text="font testing" TextWrapping="Wrap" FontFamily="./Fonts\#Helvetica Neue LT Std" FontSize="22" FontWeight="Normal" FontStyle="Italic" Height="34" VerticalAlignment="Top" Margin="8,0,-8,0" />
<TextBox Text="font testing" TextWrapping="Wrap" FontFamily="./Fonts\#Helvetica Neue LT Std" FontSize="22" FontWeight="Normal" FontStyle="Normal" Height="34" VerticalAlignment="Top" Margin="8,34,-8,0" />
<TextBox Text="font testing" TextWrapping="Wrap" FontFamily="./Fonts\#Helvetica Neue LT Std" FontSize="22" FontWeight="Bold" FontStyle="Italic" Height="34" VerticalAlignment="Top" Margin="8,72,-8,0" />
<TextBox Text="font testing" TextWrapping="Wrap" FontFamily="./Fonts\#Helvetica Neue LT Std" FontSize="22" FontWeight="Bold" FontStyle="Normal" Height="34" VerticalAlignment="Top" Margin="8,106,-8,0" />
这篇关于如何从字体系列中选择字体?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!