상세 컨텐츠

본문 제목

SilverLight에서 한글(Unicode Text) 나오지 않는 문제

실버라이트

by happynuri 2008. 2. 5. 17:03

본문

http://msdn2.microsoft.com/en-us/library/bb232904.aspx#Using_SetFontSource

SilverLight에서 한글(Unicode Text) 나오지 않는 문제

- Downloader를 통해 폰트를 다운받아 폰트소스를 지정해서 문자를 출력할 수 있음

- 기본적으로 제공되는 TextBlock은 현제 지원하지 않음
  (추후 지원 계획)



테스트 주소
http://marathi.webdunia.com/serverTest/default.html

소스코드
<?xml version="1.0" encoding="UTF-8"?>
<Canvas
   xmlns="http://schemas.microsoft.com/client/2007"
   xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" >
  <Glyphs Fill="Black" FontRenderingEmSize="20" FontUri="./Gurumaa_v128.ttf"
      OriginY="35" OriginX="25" UnicodeString="हिन्दी" >
  </Glyphs>
</Canvas>

관련글 더보기

댓글 영역