Questions tagged [directwrite]

DirectWrite is a text layout and glyph rendering API by Microsoft. It was designed to replace GDI/GDI+ and Uniscribe for screen-oriented rendering and was shipped with Windows 7 and Windows Server 2008 R2, as well as Windows Vista and Windows Server 2008 (with Platform Update installed). DirectWrite provides these features

DirectWrite is a text layout and glyph rendering API by Microsoft. It was designed to replace GDI/GDI+ and Uniscribe for screen-oriented rendering and was shipped with Windows 7 and Windows Server 2008 R2, as well as Windows Vista and Windows Server 2008 (with Platform Update installed). DirectWrite provides these features

  • A device-independent text layout system that improves text readability in documents and in UI.
  • High-quality, sub-pixel, ClearType text rendering that can use GDI, Direct2D, or application-specific rendering technology.
  • Hardware-accelerated text, when used with Direct2D.
  • Support for multi-format text.
  • Support for the advanced typography features of OpenType fonts.
  • Support for the layout and rendering of text in all supported languages.
  • GDI-compatible layout and rendering.
149 questions
0
votes
1 answer

DirectWrite FPS SlowDown

After long time (like one month) I'm able to render text font on my application via interoperability trough Direct3D11, Direct3D10, Direct2D and DirectWrite. Now that I've found the solution, I've noticed that while drawing some text the FPS (frame…
ThomasSquall
  • 644
  • 6
  • 21
0
votes
1 answer

correct resizing of D2D over D3D

I have problem with resizing D2D render target over D3D11. I make function to resize swap chain buffer. It works great, but when I activate D2D, resizing became broken. When I make window smaller, all meshes disappear from window - only text…
Denis
  • 334
  • 4
  • 17
0
votes
1 answer

DirectWrite.TextLayout transform matrix has no effect

I'm using DirectWrite (through SharpDX) to draw a TextLayout and it works as expected except for a couple things. I'm calling this TextLayout constructor: http://sharpdx.org/documentation/api/m-sharpdx-directwrite-textlayout--ctor-2 My code is…
shoelzer
  • 10,648
  • 2
  • 28
  • 49
0
votes
1 answer

Using -directwrite in qt under different windows versions

Good day! I am using Qt 4.8.4, compiled with -directwrite. It requires DWrite.dll which works only under Windows Vista SP2 and upper, and program can't be run under Windows XP. How can do to fix this problem? Can I to compile Qt so that it would…
Ilya
  • 311
  • 3
  • 18
0
votes
1 answer

Access Violation DirectWrite

I am using the DirectWrite API and I am implementing my own layout and text rendering engine. I have already created my IDWriteTextLayout object successfully. When I make the following call I receive an Access Violation error and I have no idea…
James Pack
  • 824
  • 1
  • 10
  • 19
0
votes
3 answers

Memory leaks with class members

I don't think this requires another question, so I'm editing this extremely relevant one. I had a code that would draw text by converting from char* to wchar_t*, and I suspected a memory error, as the program memory would go up as a crazy pace…
jtst
  • 312
  • 4
  • 16
0
votes
3 answers

What are the reasons for SEHException in multi threaded DirectX code?

I am working with a fairly large and complicated codebase I am not familiar with, which uses DirectWrite for text rendering. I don't know whether if it matters, but this is a WinRT (Windows Store) application. The app is multi threaded, and some…
Mark Vincze
  • 7,737
  • 8
  • 42
  • 81
0
votes
1 answer

How to transform one of DirectWrite text objects while keep others no change

I have several DirectWrite text objects on a same render target and I want to transform one of them at one time while keep others no change, In Direct2D, there are several type of transforms Render target transform Geometry transform Brush…
zdd
  • 8,258
  • 8
  • 46
  • 75
0
votes
1 answer

Font Outline Beizier Spline Contoures and DirectWrite

I'm considering maybe using DirectWrite for a project that will be coming in a DirectX 11 version and a OpenGL 3.1+ version. From what understand, DirectWrite uses Direct2D which sits on top of Direct3D 10.1 (until DirectX 11.1 is released). This…
Karl Hansson
  • 227
  • 1
  • 2
  • 9
0
votes
1 answer

Zooming text using DirectWrite

Does anyone know how to implement text zooming using DirectWrite/Direct2D APIs? I need smooth high-precision zooming in/out of large bodies of text, but couldn't find any demos/samples. Thanks.
user1446819
0
votes
1 answer

Rendering text in XNA using DirectWrite, Windows API or anything else that isn't sprite fonts

I'm working on an XNA game that works on any arbitrary screen resolution (or window size), and while scaling the graphics down and up works just fine, scaling SpriteFonts looks just awful (not to mention that SpriteFont by itself looks bad already…
Zdeněk Gromnica
  • 854
  • 2
  • 14
  • 31
-1
votes
1 answer

Using DirectWrites SetCharacterSpacing function

I'm having a hard time grasping this problem getting the newer/extended functions in dwrite_1.h to work with my existing code and hope that someone might be able to help. This is my existing set up... // In the .h file IDWriteFactory*…
-1
votes
1 answer

Wpf application crash dwrite.dll

My WPF application crashes on some different PC's. Here is Windows Event Log: Faulting module name: dwrite.dll, version: 6.3.9600.18696,time stamp:0x5915df3a
Exception code:0xc00000fd
Fault offset:0x0000706a
Faulting process…
-3
votes
1 answer

Where can I get a copy of Dwrite_1.dll?

On Windows 10, I am trying to write VBA code to list the Unicode code point ranges in a font. I was able to use GetFontUnicodeRanges in gdi32.dll, but it does not handle code points beyond xFFFF. Further research uncovered GetUnicodeRanges (as part…
RDan
  • 25
  • 5
1 2 3
9
10