directwrite Questions

2

Using HitTestTextPosition style API from IDWriteTextLayout I did not managed to handle properly text positions inside "ti", "ffi" or other ligatures with fonts like Calibri. It always returns posit...
Cleptomania asked 26/1, 2018 at 13:17

2

Solved

Full disclosure: I'm working on my libui GUI framework's text API. This wraps DirectWrite on Windows, Core Text on OS X, and Pango (which uses HarfBuzz for OpenType shaping) on other Unixes. One of...
Jarietta asked 18/6, 2017 at 3:47

2

Solved

I would like to disable ligatures, which appear to be enabled by default, at least in the fonts that I'm using (i.e. Calibri). It appears that the way to do this is to use IDWriteTextLayout::SetTyp...
Fielder asked 13/9, 2015 at 2:16

5

I prefer google chrome in almost every way above IE10, but one thing I hate is that fonts just look much better in IE10. This especially visible with small math fonts. They look like pdf quality in...
Joost asked 28/10, 2013 at 13:10

2

Solved

I am trying to register a DirectWrite (Windows 7, Windows 8) API based font file loader, and recreate in Delphi, the CustomFont demo from the Windows 7 SDK that shows how to use DirectWrite APIs wi...
Stinger asked 22/8, 2014 at 13:36

3

Solved

It's well documented (e.g. here) that IE9 ignores the OS-wide settings for font smoothing (aka anti-aliasing). Even if font-smoothing and ClearType are disabled in Windows, IE still shows anti-alia...
Emeryemesis asked 25/3, 2011 at 0:40

1

Solved

I want to use DirectWrite for mixed-colour text formatting (syntax highlighting, to be precise), but can't seem to find a way to do it, either in the Layout or Typography options. The only option i...
Fe asked 1/11, 2009 at 0:21

2

My objective: I want to get the height of an IDWriteTextFormat's font so I can calculate how many lines of text can fit in an IDWriteTextLayout of a certain height. My problem: Right now I'm u...
Evzone asked 8/4, 2011 at 2:52

3

Solved

Main article there is a header file and a source file. After copying those two files and adding few headers: #include <Windows.h> #include <d2d1.h> #pragma comment(lib, "d2d1"...
Stickseed asked 21/7, 2010 at 9:37
1

© 2022 - 2024 — McMap. All rights reserved.