2016-12-22 3 views
0

회사 응용 프로그램에서 사용할 사용자 지정 글꼴이 제공되었습니다. Word에서는 글꼴 자체가 잘 보이지만 WPF에서는 "높게"렌더링됩니다.WPF 사용자 지정 글꼴 렌더링

캘리버 글꼴은 WPF에서 렌더링

(나는 수동으로 빨간 선을 그린) : 스크린 인쇄 아래 고려 구경 글꼴 Word에서 렌더링 When the Calibre font is rendered in WPF

: When the Calibre font is rendered in Word xaml :

<StackPanel Orientation="Horizontal" Margin="10,10,0,100"> 
 
    <TextBlock Text="Arial" FontFamily="Arial" FontSize="48" Padding="5,0" Margin="0" Background="AntiqueWhite" VerticalAlignment="Center" /> 
 
    <TextBlock Text="Arial Bold" FontFamily="Arial Bold" FontSize="48" Padding="5,0" Margin="0" Background="AntiqueWhite" VerticalAlignment="Center" /> 
 
    <TextBlock Text="Calibre Regular" FontFamily="Calibre Regular" FontSize="48" Padding="5,0" Margin="0" Background="AntiqueWhite" VerticalAlignment="Center" /> 
 
    <TextBlock Text="Calibre Bold" FontFamily="Calibre Bold" FontSize="48" Padding="5,0" Margin="0" Background="AntiqueWhite" VerticalAlignment="Center" /> 
 
    <TextBlock Text="Calibri Regular" FontFamily="Calibri" FontSize="48" Padding="5,0" Margin="0" Background="AntiqueWhite" VerticalAlignment="Center" /> 
 
    <TextBlock Text="Calibri Bold" FontFamily="Calibri Bold" FontSize="48" Padding="5,0" Margin="0" Background="AntiqueWhite" VerticalAlignment="Center" /> 
 
</StackPanel>

아이디어가 있으십니까? 나는이 하나에 정말로 비틀 거리고있다!

답변

0

좋아요, 나는 비틀 거리며 넘어졌습니다. Type Light라는 무료 글꼴 편집기에서 글꼴을 열었습니다.이 글꼴 편집기에서 모든 것이 올바르게 보이는지 확인합니다. 글꼴을 새 파일로 저장하고 해당 파일을 시도했습니다. 그것은 그 문제를 해결했습니다. 분명히 OTF 파일에 문제가있었습니다.

http://www.cr8software.net/typelight.html