| Previous | Next |
| DWRITE_E_TEXTRENDERERINCOMPATIBLE | DWRITE_E_NOCOLOR |
DWRITE_E_FLOWDIRECTIONCONFLICTS
DWRITE_E_FLOWDIRECTIONCONFLICTS means that the selected flow direction and reading direction are geometrically incompatible. DirectWrite requires the axes to be perpendicular: for ordinary horizontal reading, text lines flow vertically; for vertical reading, text lines flow horizontally.
Diagnose the layout settings together
- Log both
DWRITE_READING_DIRECTIONandDWRITE_FLOW_DIRECTIONat the point where the text format or layout is created. - Do not infer direction from the locale alone: DirectWrite documentation notes that reading direction is an explicit layout setting.
- Check style inheritance and UI mirroring code, which can override one direction after the other has been configured.
Correct response
Choose a perpendicular pair appropriate to the writing system and presentation. Reversing only paragraph alignment or text alignment is not a substitute; those settings control placement along the existing axes rather than repairing an invalid pair of axes.
Microsoft: DWRITE_FLOW_DIRECTION · Microsoft: DWRITE_READING_DIRECTION
Looking for a different code? Search another status or error code.