Anonymous | Login | 03-07-2021 09:31 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
0007144 | [Squeak] Multilingual | minor | always | 08-03-08 17:56 | 08-03-08 18:02 | |||||||
Reporter | wiz | View Status | public | |||||||||
Assigned To | ||||||||||||
Priority | normal | Resolution | open | |||||||||
Status | new | Product Version | ||||||||||
Summary | 0007144: In Sq 7159 TTCFontSet>>pointSize is poorly coded | |||||||||||
Description |
The code for this method hardwires parameter constants into the method rather than refering to the authoritative settngs. It also floors the answer. Since this message is used for other computaions this can lead to truncation/roundoff errors. And I have seen other evidence that other code seems to have been writen to get around this codes poor behavior. |
|||||||||||
Additional Information |
'From Squeak3.10.2 of ''5 June 2008'' [latest update: 0007179] on 2 August 2008 at 11:58:13 pm'! !TTCFontSet methodsFor: 'as yet unclassified' stamp: 'yo 11/16/2002 01:17'! pointSize ^ fontArray first pixelSize * 72 // 96. ! ! hardwires the constants for points/inch and pixels per inch. This is WRONG. |
|||||||||||
Attached Files | ||||||||||||
|
Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
41 total queries executed. 30 unique queries executed. |