Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Strange issue with text in Painter
Re: Strange issue with text in Painter [message #50877 is a reply to message #50875] |
Fri, 11 January 2019 14:33   |
Tom1
Messages: 1179 Registered: March 2007
|
Senior Contributor |
|
|
Hi,
Here's one sequence (of log) where the first letter 'J' is rendered too large:
==== ApproximateChar 74 <Arial:27>
GetHashValue(h.gk) = 3041017192
*** operator==
fnt = <Arial:27>
b.fnt = <Arial:5 Italic>
chr = 74
b.chr = 214
*** operator==
fnt = <Arial:27>
b.fnt = <Arial:27>
chr = 74
b.chr = 74
ValueTo< Vector<float> >(v) = [9.99999984824321e30, 1, 17.46875, 4, 17, 4.39453125, 19.908203125, 5.296875, 21.7265625, 6.671875, 22.681640625, 8.484375, 23, 9.892578125, 22.84765625, 11.0859375, 22.390625, 12.00390625, 21.671875, 12.5859375, 20.734375, 13, 17.390625, 13, -1, 16, -1, 16, 17.09375, 15.79296875, 20.046875, 15.171875, 22.25, 14.1015625, 23.861328125, 12.546875, 25.0390625, 10.59375, 25.759765625, 8.328125, 26, 6.63671875, 25.86572265625, 5.15625, 25.462890625, 3.88671875, 24.79150390625, 2.828125, 23.8515625, 1.9990234375, 22.64697265625, 1.41796875, 21.181640625, 1, 17.46875]
==== ApproximateChar 111 <Arial:27>
GetHashValue(h.gk) = 3041016509
*** operator==
fnt = <Arial:27>
b.fnt = <Arial:27>
chr = 111
b.chr = 111
ValueTo< Vector<float> >(v) = [9.99999984824321e30, 1, 18.5, 1.1337890625, 16.63671875, 1.53515625, 15.03125, 2.2041015625, 13.68359375, 3.140625, 12.59375, 5.12890625, 11.3984375, 7.5, 11, 10.109375, 11.484375, 12.1875, 12.9375, 13.546875, 15.24609375, 14, 18.296875, 13.798828125, 20.76953125, 13.1953125, 22.65625, 12.208984375, 24.0703125, 10.859375, 25.125, 9.25390625, 25.78125, 7.5, 26, 4.87109375, 25.517578125, 2.796875, 24.0703125, 2.0107421875, 22.99853515625, 1.44921875, 21.712890625, 1, 18.5, 9.99999984824321e30, 3, 18.5, 3.3203125, 20.90625, 4.28125, 22.625, 5.7265625, 23.65625, 7.5, 24, 9.2734375, 23.654296875, 10.71875, 22.6171875, 11.6796875, 20.873046875, 12, 18.40625, 11.677734375, 16.0703125, 10.7109375, 14.375, 9.263671875, 13.34375, 7.5, 13, 5.7265625, 13.341796875, 4.28125, 14.3671875, 3.3203125, 16.083984375, 3, 18.5]
==== ApproximateChar 101 <Arial:27>
GetHashValue(h.gk) = 3041016535
*** operator==
fnt = <Arial:27>
b.fnt = <Arial:27>
chr = 101
b.chr = 101
ValueTo< Vector<float> >(v) = [9.99999984824321e30, 11.96875, 22, 13.9375, 22, 13.107421875, 23.69140625, 11.7734375, 24.953125, 9.970703125, 25.73828125, 7.734375, 26, 4.94921875, 25.515625, 2.8125, 24.0625, 1.453125, 21.734375, 1, 18.625, 1.458984375, 15.40625, 2.03271484375, 14.1015625, 2.8359375, 13, 4.943359375, 11.5, 7.59375, 11, 10.162109375, 11.482421875, 12.2109375, 12.9296875, 13.552734375, 15.251953125, 14, 18.359375, 13.984375, 19, 3, 19, 3.44921875, 21.138671875, 4.484375, 22.7109375, 5.9765625, 23.677734375, 7.796875, 24, 10.3125, 23.5234375, 11.25, 22.904296875, 11.96875, 22, 9.99999984824321e30, 3, 17, 12, 17, 11.6484375, 15.46484375, 10.96875, 14.359375, 9.46484375, 13.33984375, 7.578125, 13, 5.8515625, 13.271484375, 4.421875, 14.0859375, 3.42578125, 15.357421875, 3, 17]
Interestingly it always has two operator== hash compares until a match is found. (I repeated the rendering multiple times to find the spot in log more easily.) Is this multiple hash match affecting the caching in some way?
BR,
Tom
PS: When a wrong cache item is picked for a character, it may have wrong size and wrong Italic/Normal coding, but it always is the correct letter (if it is visible at all). I think the complete lack of visibility might come from very small size of the cached character. This is almost like the LRUCache only looked at the character code when picking the result. Well, of course this is not the case, since otherwise most of the text items would be trash I guess...
[Updated on: Fri, 11 January 2019 15:25] Report message to a moderator
|
|
|
 |
|
Strange issue with text in Painter
By: Tom1 on Wed, 09 January 2019 11:23
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Wed, 09 January 2019 13:38
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Thu, 10 January 2019 17:09
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Thu, 10 January 2019 17:26
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Thu, 10 January 2019 17:46
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Fri, 11 January 2019 09:40
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Fri, 11 January 2019 10:07
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Fri, 11 January 2019 10:10
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Fri, 11 January 2019 10:17
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Fri, 11 January 2019 11:05
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Fri, 11 January 2019 11:46
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Fri, 11 January 2019 12:10
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Fri, 11 January 2019 12:12
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Fri, 11 January 2019 12:33
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Fri, 11 January 2019 12:53
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Fri, 11 January 2019 14:33
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Fri, 11 January 2019 15:29
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Fri, 11 January 2019 15:33
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Fri, 11 January 2019 15:43
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Fri, 11 January 2019 18:50
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Sat, 12 January 2019 13:14
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Sat, 12 January 2019 14:57
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Mon, 14 January 2019 09:58
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Mon, 14 January 2019 10:13
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Mon, 14 January 2019 10:18
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Mon, 14 January 2019 10:26
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Mon, 14 January 2019 10:28
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Mon, 14 January 2019 10:42
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Mon, 14 January 2019 10:47
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Mon, 14 January 2019 11:01
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Mon, 14 January 2019 11:07
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Mon, 14 January 2019 11:11
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Mon, 14 January 2019 11:30
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Mon, 14 January 2019 11:32
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Mon, 14 January 2019 11:41
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Mon, 14 January 2019 11:57
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Mon, 14 January 2019 12:03
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Mon, 14 January 2019 12:14
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Mon, 14 January 2019 12:16
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Mon, 14 January 2019 12:22
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Mon, 14 January 2019 13:26
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Mon, 14 January 2019 12:21
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Mon, 14 January 2019 12:30
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Mon, 14 January 2019 12:41
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Mon, 14 January 2019 13:23
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Mon, 14 January 2019 13:53
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Mon, 14 January 2019 14:11
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Mon, 14 January 2019 15:03
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Mon, 14 January 2019 15:18
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Mon, 14 January 2019 15:34
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Mon, 14 January 2019 15:38
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Mon, 14 January 2019 16:08
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Mon, 14 January 2019 17:21
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Mon, 14 January 2019 17:45
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Mon, 14 January 2019 18:31
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Mon, 14 January 2019 18:39
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Mon, 14 January 2019 19:53
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Mon, 14 January 2019 20:51
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Mon, 14 January 2019 20:56
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Tue, 15 January 2019 08:42
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Tue, 15 January 2019 09:11
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Tue, 15 January 2019 09:17
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Tue, 15 January 2019 08:53
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Tue, 15 January 2019 09:15
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Tue, 15 January 2019 09:30
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Mon, 14 January 2019 11:49
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Mon, 14 January 2019 11:52
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Mon, 14 January 2019 11:56
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Mon, 14 January 2019 10:39
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Fri, 11 January 2019 15:47
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Fri, 11 January 2019 19:26
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Tue, 15 January 2019 09:21
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Tue, 15 January 2019 09:23
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Tue, 15 January 2019 09:34
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Tue, 15 January 2019 09:38
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Tue, 15 January 2019 09:51
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Tue, 15 January 2019 09:53
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Tue, 15 January 2019 09:53
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Tue, 15 January 2019 10:06
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Tue, 15 January 2019 09:42
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Tue, 15 January 2019 10:07
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Tue, 15 January 2019 10:19
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Tue, 15 January 2019 13:28
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Tue, 15 January 2019 14:56
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Tue, 15 January 2019 16:20
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Tue, 15 January 2019 16:37
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Wed, 16 January 2019 08:54
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Wed, 16 January 2019 09:18
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Wed, 16 January 2019 09:37
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Wed, 16 January 2019 09:39
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Wed, 16 January 2019 10:45
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Wed, 16 January 2019 10:52
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Wed, 16 January 2019 11:11
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Wed, 16 January 2019 11:35
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Wed, 16 January 2019 11:39
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Wed, 16 January 2019 11:46
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Wed, 16 January 2019 12:00
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Wed, 16 January 2019 12:07
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Wed, 16 January 2019 12:16
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Wed, 16 January 2019 12:47
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Wed, 16 January 2019 13:09
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Wed, 16 January 2019 13:20
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Wed, 16 January 2019 13:26
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Wed, 16 January 2019 14:27
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Wed, 16 January 2019 14:47
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Wed, 16 January 2019 15:14
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Wed, 16 January 2019 15:16
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Wed, 16 January 2019 15:22
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Wed, 16 January 2019 15:40
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Wed, 16 January 2019 16:26
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Wed, 16 January 2019 17:18
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Wed, 16 January 2019 17:18
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Thu, 17 January 2019 08:44
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Thu, 17 January 2019 09:10
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Thu, 17 January 2019 09:15
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Thu, 17 January 2019 09:42
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Thu, 17 January 2019 10:04
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Thu, 17 January 2019 10:07
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Thu, 17 January 2019 10:14
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Thu, 17 January 2019 10:16
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Thu, 17 January 2019 10:19
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Thu, 17 January 2019 10:42
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Thu, 17 January 2019 10:51
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Thu, 17 January 2019 10:54
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Thu, 17 January 2019 11:10
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Thu, 17 January 2019 11:07
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Thu, 17 January 2019 11:28
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Thu, 17 January 2019 11:32
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Thu, 17 January 2019 11:36
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Thu, 17 January 2019 11:43
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Thu, 17 January 2019 11:46
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Thu, 17 January 2019 12:09
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Thu, 17 January 2019 12:28
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Thu, 17 January 2019 12:34
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Thu, 17 January 2019 12:44
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Thu, 17 January 2019 12:47
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Thu, 17 January 2019 12:52
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Thu, 17 January 2019 12:56
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Thu, 17 January 2019 12:59
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Thu, 17 January 2019 13:01
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Thu, 17 January 2019 13:04
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Thu, 17 January 2019 13:12
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Thu, 17 January 2019 13:34
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Thu, 17 January 2019 13:40
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Thu, 17 January 2019 13:58
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Thu, 17 January 2019 14:12
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Thu, 17 January 2019 14:16
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Thu, 17 January 2019 14:24
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Thu, 17 January 2019 14:47
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Thu, 17 January 2019 14:51
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Thu, 17 January 2019 14:52
|
 |
|
Re: Strange issue with text in Painter
By: koldo on Sat, 19 January 2019 17:46
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Thu, 17 January 2019 14:30
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Thu, 17 January 2019 14:33
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Thu, 17 January 2019 14:51
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Thu, 17 January 2019 11:54
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Thu, 17 January 2019 12:17
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Thu, 17 January 2019 12:21
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Thu, 17 January 2019 10:21
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Thu, 17 January 2019 10:19
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Thu, 17 January 2019 09:51
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Wed, 16 January 2019 10:53
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Wed, 16 January 2019 11:31
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Wed, 16 January 2019 09:21
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Wed, 16 January 2019 09:40
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Tue, 15 January 2019 10:21
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Tue, 15 January 2019 11:13
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Tue, 15 January 2019 11:20
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Tue, 15 January 2019 11:23
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Tue, 15 January 2019 11:27
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Tue, 15 January 2019 11:45
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Tue, 15 January 2019 11:45
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Tue, 15 January 2019 11:51
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Tue, 15 January 2019 11:54
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Tue, 15 January 2019 12:27
|
 |
|
Re: Strange issue with text in Painter
By: mirek on Tue, 15 January 2019 14:55
|
 |
|
Re: Strange issue with text in Painter
By: Tom1 on Tue, 15 January 2019 11:43
|
Goto Forum:
Current Time: Thu Oct 05 01:28:08 CEST 2023
Total time taken to generate the page: 0.04016 seconds
|