다이렉트 라이트

DirectWrite

DirectWrite는 Microsoft의 텍스트 레이아웃 및 글리프 렌더링 API입니다.화면 지향 렌더링을 위해 GDI/GDI+ 및 Uniscribe대체하도록 설계되었으며 Windows 7 및 Windows Server 2008 R2, Windows Vista 및 Windows Server 2008(플랫폼 업데이트 설치)[1]과 함께 처음 출고되었습니다.DirectWrite는 Direct2D 위에서 실행할 때 하드웨어 액셀러레이션(GPU 사용)되지만 CPU를 사용하여 GDI [2][3]비트맵을 포함한 모든 타깃에서 렌더링할 수도 있습니다.

특징들

  • Unicode를 포괄적으로 지원하며 20개 이상의 스크립트를 통해 Windows에서 지원되는 모든 언어의 레이아웃과 렌더링을 제공합니다.DirectWrite는 다중 형식 텍스트의 측정, 그리기 및 적중 테스트를 지원합니다.지원되는 Unicode 기능에는 BIDI, 줄 바꿈, 대리, UVS, 언어 안내 스크립트 항목화, 번호 치환 및 글리프 쉐이핑이 포함됩니다.
  • GDI/GDI+, Direct2D/Direct3D 및 애플리케이션 고유의 테크놀로지와 상호 운용 가능한 양방향 안티앨리어싱 기능을 갖춘 서브픽셀 ClearType 텍스트 렌더링.Direct2D와 함께 사용하면 텍스트 렌더링을 하드웨어 가속화할 수 있으며 하드웨어 가속을 사용할 수 없는 경우 WARP 소프트웨어 래스터라이저를 사용할 수 있습니다.
  • GDI WinForms에서는 지원되지 않았던 스타일리시한 대체 및 스와시OpenType의 고급 타이포그래피 기능을 지원합니다.이러한 기능은 DirectWrite의 출시(PDC2008)에서 Gabriola 글꼴을 사용하여 시연되었으며, Windows [4]7에서도 소개되었습니다.
  • 독자 텍스트 레이아웃 및 Unicode-to-glyph 처리를 사용하는 사용자를 위해 낮은 수준의 글리프 렌더링 API를 제공합니다.

Windows 8.1에서는 DirectWrite가 컬러 [5][6]폰트를 지원하게 되었습니다.

DWriteCore

DWriteCore는 DirectWrite의 Windows App SDK(프로젝트 리유니온) 구현으로 Windows 버전 1809(10.0, Build 17763)부터 Windows 버전까지 실행되며 크로스 플랫폼 [7]사용을 위한 문을 엽니다.

사용하다

Windows 7의 XPS 뷰어는 DirectWrite를 사용하지만 출력을 GDI+[8] 표면에 렌더링합니다.

Internet Explorer 9 이후 버전은 Direct2D 위에 DirectWrite를 레이어드하여 비주얼 품질과 [9][10][11]퍼포먼스를 향상시킵니다.Firefox 4는 DirectWrite 지원도 추가했지만 렌더링 [12]품질에 대한 사용자 불만 때문에 Firefox 7의 일부 글꼴에 대해 DirectWrite 고유의 렌더링 방식이 기본이 아닙니다.

Microsoft Office 2013은 디스플레이 렌더링 및 타이포그래피용으로 Direct2D/DirectWrite 또는 GDI/[13]Uniscribe 중 하나를 지원합니다.

Windows의 Google Chrome은 버전 [14]37부터 DirectWrite를 지원합니다.

텔레그램의 데스크톱 클라이언트는 DirectWrite를 사용하여 Windows에서 컬러 이모티콘을 렌더링합니다.

Steam은 DirectWrite를 활성화하여 데스크톱 클라이언트의 폰트 스무딩 및 키어링을 개선할 수 있습니다.

「 」를 참조해 주세요.

  • Pango: 다국어 텍스트 지원을 강조하는 고품질 텍스트 렌더링용 크로스 플랫폼 라이브러리.
  • 카이로: 텍스트를 렌더링할 수 있는 벡터 기반의 크로스 플랫폼 그래픽 라이브러리.

레퍼런스

  1. ^ "The Platform Update for Windows Vista". DirectX Developer Blog. 10 September 2009. Archived from the original on 8 April 2014. Retrieved 27 January 2012.
  2. ^ "Introducing DirectWrite". Microsoft Developer Network. Microsoft.
  3. ^ Windows 7: Direct2DDirectWrite 소개– PDC 2008 비디오 15:00-16:00 및 27:00-28:00
  4. ^ "Windows 7: Introducing Direct2D and DirectWrite – pdc2008". Channel 9. Microsoft. 29 October 2008.
  5. ^ "What's new in DirectWrite". Microsoft Developer Network. Microsoft.
  6. ^ Dan McLachlan (26 June 2013). "Innovations in High Performance 2D Graphics with DirectX – Build 2013". Channel 9. Microsoft.
  7. ^ "DWriteCore overview". DirectWrite. Microsoft Docs. Retrieved 2021-10-19.
  8. ^ Worachai Chaoweeraprasit (13 February 2009). "Advances in typography and text rendering in Windows 7". Microsoft Developer Network. Microsoft.
  9. ^ Tim Anderson (11 August 2010). "Firefox 4 as Psychedelic as IE9 with Direct2D enabled". itwriting.com. Retrieved 6 August 2014.
  10. ^ Shankland, Stephen (25 March 2014). "Firefox 4 beta 4 adds hardware acceleration". CNET. Retrieved 6 August 2014.
  11. ^ "Mozilla chucks Roc at Microsoft's new hardness". The Register. 13 September 2010.
  12. ^ "DirectWrite Text Rendering in Firefox 6". Blog.mozilla.org. 11 August 2011. Archived from the original on 10 August 2014. Retrieved 9 August 2014.
  13. ^ Murray Sargent. "Office Adopts New Windows Display Technology". Microsoft Developer Network. Microsoft.
  14. ^ Brandon Chester (26 August 2014). "Google Updates Chrome To Version 37 With DirectWrite Support". AnandTech. Retrieved 27 August 2014.