Opened 5 years ago
Closed 5 years ago
#3117 closed defect (fixed)
2D labels size wrong if saved image size not same as window size
Reported by: | Owned by: | Tom Goddard | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Input/Output | Version: | |
Keywords: | Cc: | Elaine Meng | |
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
The following bug report has been submitted: Platform: Linux-3.10.0-1062.9.1.el7.x86_64-x86_64-with-centos-7.7.1908-Core ChimeraX Version: 0.93 (2020-04-03) Description On saved images (and movies, too) 2d labels are only displayed correctly if the saved image size is identical to the window size. I guess this happens because the label size is set in pt, but not in some relative units. An example script is attached. Log: UCSF ChimeraX version: 0.93 (2020-04-03) © 2016-2020 Regents of the University of California. All rights reserved. How to cite UCSF ChimeraX > open2 /beegfs/cssb/user/kotovvad/200210_XylE_movie/bug4.cxc > open 4gby Summary of feedback from opening 4gby fetched from pdb --- note | | Summary of feedback from opening /home/kotovvad/Downloads/ChimeraX/PDB/4gby.cif --- warning | Unable to infer polymer connectivity due to unspecified label_seq_id for residue "XYP" near line 4750 4gby title: The structure of the MFS (major facilitator superfamily) proton:xylose symporter XylE bound to D-xylose [more info...] Chain information for 4gby #1 --- Chain | Description A | D-xylose-proton symporter Non-standard residues in 4gby #1 --- BNG — B-nonylglucoside XYP — β-D-xylopyranose > windowsize 400 300 > 2dlabels text 2dlabel > save test1.png > save test2.png width 1600 height 900 executed bug4.cxc OpenGL version: 3.3.0 NVIDIA 440.33.01 OpenGL renderer: Quadro M6000/PCIe/SSE2 OpenGL vendor: NVIDIA Corporation Manufacturer: Supermicro Model: SYS-1028GQ-TRT OS: CentOS Linux 7 Core Architecture: 64bit ELF CPU: 40 Intel(R) Xeon(R) CPU E5-2640 v4 @ 2.40GHz Cache Size: 25600 KB Graphics: 02:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM200GL [Quadro M6000] [10de:17f0] (rev a1) Subsystem: NVIDIA Corporation Device [10de:1129] Kernel driver in use: nvidia File attachment: bug4.cxc
Attachments (1)
Change History (3)
by , 5 years ago
comment:1 by , 5 years ago
Component: | Unassigned → Input/Output |
---|---|
Owner: | set to |
Platform: | → all |
Project: | → ChimeraX |
Status: | new → assigned |
Summary: | ChimeraX bug report submission → 2D labels size wrong if saved image size not same as window size |
comment:2 by , 5 years ago
Cc: | added |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Fixed.
2D labels were stretched when saved image had different aspect ratio then on screen window. Also an image twice as large in pixels had labels that were half size relative to molecular models compared to on screen. I made the labels have the same relative size in the image as shown on screen.
Note:
See TracTickets
for help on using tickets.
Added by email2trac