temporarily changing Canvas.AntialiasingMode => destroys font settings
Original Reporter info from Mantis: Martin @martin_frb
-
Reporter name: Martin Friebe
Original Reporter info from Mantis: Martin @martin_frb
- Reporter name: Martin Friebe
Description:
components\synedit\syngutterchanges.pas
line 116
//AliasMode := Canvas.AntialiasingMode;
//Canvas.AntialiasingMode:=amOff;
line 143
//Canvas.AntialiasingMode := AliasMode;
Compile lazarus with those changes not commented.
Ensure that Environment / options /editor / display / "disable anti-aliasing" is not checked (anti aliasing is enabled).
The text in the editor, especially the bold parts, is heavily disfigured...
This happens only on Carbon, it works fine on win32, gtk2, and qt.
The above code is expected to leave the canvas in the same state, as it found it before => however it seems that the change triggers some further changes (probably on the font) and those are not reverted.
Mantis conversion info:
- Mantis ID: 16472
- Version: 0.9.29 (SVN)
- Fixed in version: 0.9.29 (SVN)
- Fixed in revision: 25416 (#403c0fde)
- Target version: 0.9.30