Opened 9 years ago
Closed 8 years ago
#598 closed enhancement (fixed)
Use QPainter to draw label text instead of PIL so Qt can handle fonts
Reported by: | Tom Goddard | Owned by: | Tom Goddard |
---|---|---|---|
Priority: | major | Milestone: | Alpha2 |
Component: | Graphics | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | 615 | |
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
Currently 2d labels are using PIL and looking for truetype fonts on Mac. Would probably be better to rely on Qt to find fonts on all systems and draw labels into an image buffer using QPainter.
Change History (2)
comment:1 by , 9 years ago
Blocking: | → 615 |
---|---|
Milestone: | → Alpha2 |
comment:2 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Done. Both 2d and 3d labels now use Qt instead of Pillow to draw text. Also added "label fonts" and "2dlabel fonts" commands to list the available fonts.