Author |
Topic |
|
spectecjr
Ketchup Master
USA
64 Posts |
Posted - Apr 06 2004 : 4:41:07 PM
|
OK; I'm starting a new post.
Here's some example code which demonstrates the problems i'm seeing. Note: the background color of my IDE is black. Basic install of VS.NET 2003 - nothing special about it. American English.
Note that the numbers are colored wrongly. Screenshot is below.
-----------------------------------------------------------------
#include "stdafx.h" #define SOFTWARE_DATA_VERSION_MAJOR (1) #define SOFTWARE_DATA_VERSION_MINOR (1) #define THIS_ISATEST_TOBESURE #define THIS_ISATEST_TOO (1) #define thiscontains234numbers 1021 #define THIS_CONTAINS34NUMBERS 1023 #define __TESTSYMBOL (1) #define __TESTSYMBOL2(a,b) (a == b) #define __TESTSYMBOL3 #define __TEST_SYMBOL (1) #define __TEST_SYMBOL2(a,b) (a == b) #define __TESTSYMBOL (1) #define __TESTSYMBOL2(a,b) (a == b) #define __TESTSYMBOL3 #define TEST_SYMBOL_2 #define TEST_SYMBOL_2_TEST #define _TEST_SYMBOL_2_
struct testNumbers { bool thisis1; bool thisis2; bool thisis33333; bool lookattheorangenumbers22222; };
int _tmain(int argc, _TCHAR* argv[]) { return 0; }
-----------------------------------------------------------------
So we're getting slightly different behavior than before, but it works.
With a white background, the problem (at first glance) goes away.
Why would the background color of the text affect the painting logic? |
Edited by - spectecjr on Apr 21 2004 6:37:23 PM |
|
Leo
New Member
China
4 Posts |
Posted - Apr 07 2004 : 06:03:17 AM
|
Uncle Sam, Could you tell me the name and size of the font you used in your IDE? I'm lovein it! ;) |
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Apr 07 2004 : 10:39:02 AM
|
it is similar to "Lucida Console" on a quick compare. the lower case l is different though. |
zen is the art of being at one with the two'ness |
|
|
spectecjr
Ketchup Master
USA
64 Posts |
Posted - Apr 07 2004 : 4:26:12 PM
|
quote: Originally posted by Leo
Uncle Sam, Could you tell me the name and size of the font you used in your IDE? I'm lovein it! ;)
13pt. Andale Mono...
... but I do have a tablet PC, so the larger font size makes it necessary ;-) (1400x1050 on a laptop is rather sweet ;-)) |
|
|
spectecjr
Ketchup Master
USA
64 Posts |
Posted - Apr 14 2004 : 3:12:51 PM
|
*Bump*... Still broken in 1228. |
|
|
spectecjr
Ketchup Master
USA
64 Posts |
Posted - Apr 17 2004 : 9:15:33 PM
|
*Bump* Still broken in 1230. |
|
|
Dean Ashton
Ketchup Master
60 Posts |
Posted - Apr 22 2004 : 02:43:27 AM
|
I've been seeing this (and have reported it) too.. Last I heard is that they're able to reproduce it, and are working on it. |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Apr 22 2004 : 09:32:21 AM
|
We are only able to reproduce a specific case where numbers are colored differently, nothing widespread.
Does changing font to Courier New fix the problem?
(For those interested, not all fonts contain numbers. Go figure. The OS picks a nearby font when asked to draw a number in a font without numbers. VA X was getting confused.) |
Whole Tomato Software, Inc. |
Edited by - support on Apr 22 2004 1:15:37 PM |
|
|
spectecjr
Ketchup Master
USA
64 Posts |
Posted - Apr 22 2004 : 7:13:08 PM
|
quote: Originally posted by support Does changing font to Courier New fix the problem?
(For those interested, not all fonts contain numbers. Go figure. The OS picks a nearby font when asked to draw a number in a font without numbers. VA X was getting confused.)
Nope... still there with Courier New as the font... (Andale Mono *does* contain numbers ;-) it's meant for use as a programming font - thus the zero with a dot in the middle).
It appears to be paint-order related, and/or underscores and numbers in symbol names appear to be the trigger.
The screenshot above is what I still get with 1230. |
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Apr 23 2004 : 06:12:50 AM
|
some font have no numbers? *puzzled expression* no wonder VAX gets confused
spectecjr does the font you are using have an underscore character? if numbers can be missing, then presumably any character can be missing. |
zen is the art of being at one with the two'ness |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Apr 23 2004 : 10:16:44 AM
|
Since the problem exists with Courier New, it must be some other setting. Does clicking "Use Defaults" in the VS.NET color settings fix the problem? Anything unusual about your setup? |
Whole Tomato Software, Inc. |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Apr 29 2004 : 08:11:17 AM
|
Does clicking "Use Defaults" in the VS.NET color settings fix the problem?
Send email to [email protected] and we will send you logging information. |
Whole Tomato Software, Inc. |
|
|
spectecjr
Ketchup Master
USA
64 Posts |
Posted - Apr 29 2004 : 10:29:17 AM
|
quote: Originally posted by support
Does clicking "Use Defaults" in the VS.NET color settings fix the problem?
Send email to [email protected] and we will send you logging information.
Well, of course it would fix the problem - the bug only appears to occur if the background is black - not white - and VS.NET defaults to a white background.
Will do re: the email. |
|
|
support
Whole Tomato Software
5566 Posts |
|
spectecjr
Ketchup Master
USA
64 Posts |
Posted - Apr 29 2004 : 8:57:13 PM
|
quote: Originally posted by support
The problem of coloring abc123foo is discussed in another thread.
http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=2214
We will continue the discussion in the other thread.
That's fine and dandy.. but I was just told in that thread that the bug being discussed here was not being discussed in that thread. |
|
|
support
Whole Tomato Software
5566 Posts |
Posted - May 06 2004 : 1:38:33 PM
|
Sorry for the thread wormhole. This is the right thread (at least for now ).
The reason we suggested trying "use defaults" is because we wanted to rule out other setting like any bold attributes or anything out of the norm. We have many users and test machines that use the black background and do not see the same results.
The question is what is different about your setup? Any clues?
|
Whole Tomato Software, Inc. |
|
|
spectecjr
Ketchup Master
USA
64 Posts |
Posted - May 07 2004 : 12:54:07 PM
|
quote: Originally posted by support
Sorry for the thread wormhole. This is the right thread (at least for now ).
The reason we suggested trying "use defaults" is because we wanted to rule out other setting like any bold attributes or anything out of the norm. We have many users and test machines that use the black background and do not see the same results.
The question is what is different about your setup? Any clues?
OK... I tested it on another system"
1. The Tablet PC is running XP SP2 RC1. This may be the problem, but I'm not certain that it is.
2. It's using a GeForce FX Go5200 graphics processor; I'm going to try updating the drivers - which may actually be the problem here.
I just tested it on a workstation machine running XP Pro SP1 with VS.NET 2003, and there are still coloring issues, but they have a different pattern to them:
(BTW: also, when I opened my test file, the VAssist View window lost its header and appeared to have sizing and framing issues.)
There still are some painting issues, but they're not as obvious (especially with my color scheme). Specifically, the colors are no longer broken up within the line (eg. at underscore boundaries), but the following colors are applied:
#define SOFTWARE_DATA_VERSION_MAJOR (1) <-- macro name colored as a method #define SOFTWARE_DATA_VERSION_MINOR (1) <-- macro name colored as a method #define THIS_ISATEST_TOBESURE <-- macro name colored as a variable #define THIS_ISATEST_TOO (1) <-- macro name colored as a method #define thiscontains234numbers 1021 <-- macro name colored as a variable #define THIS_CONTAINS34NUMBERS 1023 <-- macro name colored as a variable #define __TESTSYMBOL (1) <-- macro name colored as a method #define __TESTSYMBOL2(a,b) (a == b) <-- macro name colored as a method, the 'a' is colored as a method, the 'b' is colored as a variable in both instances.
Again, this is a basic install of VS.NET 2003 Enterprise Edition. Nothing special or surprising. American English. No other 3rd party tools installed. Geforce 4 graphics card with the latest (April 1) drivers. |
Edited by - spectecjr on May 07 2004 12:55:03 PM |
|
|
|
Topic |
|