Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Missing character (½) in 605 rc1 and rc2
Missing character (½) in 605 rc1 and rc2 [message #3262] Tue, 16 May 2006 22:37 Go to next message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
I guess this is the right place to notify this terrible news.

In all versions before the 605 series I could see on my application the character ½, it is "1/2".
I continue to see it in theIDE but in my application it is disappeared Crying or Very Sad and at its place appear a stupid square! Where it is finished?
That sign was very important because it indicates the draw. Not only, but the square give problem to DeQtf() that is not able to parse it (I do not know if "1/2" could give problem to DeQtf too because I've implemented it only with 605.

Is this normal?

Luigi
Re: Missing character (½) in 605 rc1 and rc2 [message #3266 is a reply to message #3262] Tue, 16 May 2006 23:32 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
forlano wrote on Tue, 16 May 2006 16:37

I guess this is the right place to notify this terrible news.

In all versions before the 605 series I could see on my application the character ½, it is "1/2".
I continue to see it in theIDE but in my application it is disappeared Crying or Very Sad and at its place appear a stupid square! Where it is finished?
That sign was very important because it indicates the draw. Not only, but the square give problem to DeQtf() that is not able to parse it (I do not know if "1/2" could give problem to DeQtf too because I've implemented it only with 605.

Is this normal?

Luigi



Hm, I guess some font issue... Have you tried it using arial?

Mirek
Re: Missing character (½) in 605 rc1 and rc2 [message #3269 is a reply to message #3266] Wed, 17 May 2006 00:07 Go to previous messageGo to next message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
luzr wrote on Tue, 16 May 2006 23:32



Hm, I guess some font issue... Have you tried it using arial?

Mirek


This sign appear in the arrayctrl and I do not know how to set the font in the array (otherwise I would use courier to resolve my old issue with vertical aligneament).

Luigi

PS: this sign appear even in a button with no lucky. I set it to Arial and this is the result

index.php?t=getfile&id=141&private=0
  • Attachment: swiss5.jpg
    (Size: 52.94KB, Downloaded 2112 times)

[Updated on: Wed, 17 May 2006 00:45]

Report message to a moderator

Re: Missing character (½) in 605 rc1 and rc2 [message #3271 is a reply to message #3269] Wed, 17 May 2006 02:14 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
forlano wrote on Tue, 16 May 2006 18:07

luzr wrote on Tue, 16 May 2006 23:32



Hm, I guess some font issue... Have you tried it using arial?

Mirek


This sign appear in the arrayctrl and I do not know how to set the font in the array (otherwise I would use courier to resolve my old issue with vertical aligneament).

Luigi

PS: this sign appear even in a button with no lucky. I set it to Arial and this is the result

index.php?t=getfile&id=141&private=0


You can set the font for the whole U++ app:

Draw::SetStdFont(Arial(12));

Mirek
Re: Missing character (½) in 605 rc1 and rc2 [message #3276 is a reply to message #3271] Wed, 17 May 2006 16:03 Go to previous messageGo to next message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
luzr wrote on Wed, 17 May 2006 02:14


You can set the font for the whole U++ app:

Draw::SetStdFont(Arial(12));

Mirek


I tried it and the sign "1/2" doesn't want to appear. Even with Courier no result. This is for me very strange because up to 604 it appeared normally in the application. Maybe it is normal after your last big upgrade. By the way, it appear in TheIDE.

Luigi
Re: Missing character (½) in 605 rc1 and rc2 [message #3277 is a reply to message #3276] Wed, 17 May 2006 16:17 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
forlano wrote on Wed, 17 May 2006 10:03

luzr wrote on Wed, 17 May 2006 02:14


You can set the font for the whole U++ app:

Draw::SetStdFont(Arial(12));

Mirek


I tried it and the sign "1/2" doesn't want to appear. Even with Courier no result. This is for me very strange because up to 604 it appeared normally in the application. Maybe it is normal after your last big upgrade. By the way, it appear in TheIDE.

Luigi



Actually, 605 version does not include "big upgrade". It was meant to be last one without it Wink

Do you think you could create a simple test-package for me?

Mirek
Re: Missing character (½) in 605 rc1 and rc2 [message #3279 is a reply to message #3277] Wed, 17 May 2006 17:17 Go to previous messageGo to next message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
luzr wrote on Wed, 17 May 2006 16:17


Actually, 605 version does not include "big upgrade". It was meant to be last one without it Wink

Do you think you could create a simple test-package for me?

Mirek


I have prepared a helloworld.cpp with a button containing the char "1/2". I believed to be able to reproduce the isuue. Instead this damned character appeared in the application.
So the problem reside in my application that now is became quite complex. Perhaps this problem hide some other bigger one.
I'll try to reduce it and isolate it and let you know.

Luigi
Re: Missing character (½) in 605 rc1 and rc2 [message #3280 is a reply to message #3279] Wed, 17 May 2006 17:29 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
forlano wrote on Wed, 17 May 2006 11:17

luzr wrote on Wed, 17 May 2006 16:17


Actually, 605 version does not include "big upgrade". It was meant to be last one without it Wink

Do you think you could create a simple test-package for me?

Mirek


I have prepared a helloworld.cpp with a button containing the char "1/2". I believed to be able to reproduce the isuue. Instead this damned character appeared in the application.
So the problem reside in my application that now is became quite complex. Perhaps this problem hide some other bigger one.
I'll try to reduce it and isolate it and let you know.

Luigi



Alternatively, if you do not bother to "reveal" your application code, just compress it and send as it is....

Mirek
Re: Missing character (½) in 605 rc1 and rc2 [message #3282 is a reply to message #3280] Wed, 17 May 2006 18:06 Go to previous messageGo to next message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
luzr wrote on Wed, 17 May 2006 17:29


Alternatively, if you do not bother to "reveal" your application code, just compress it and send as it is....

Mirek

I do not bother at all. I'll make it available with the source code as soon as possible. Rather I do not want to spoil your time... at least if it is not strictly necessary Smile .
Just now I've resumed the previous version of the application and it is OK ( "1/2" appear everywhere). So U++ 605 is OK and I've to understand what new code added provocated the problem. The task seems easy: remove one by one the last class added and simply observe...

Luigi
Re: Missing character (½) in 605 rc1 and rc2 [message #3283 is a reply to message #3282] Wed, 17 May 2006 18:50 Go to previous messageGo to next message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
Here I am!

I've fixed it!
index.php?t=getfile&id=143&private=0

The problem was the row:

SetLanguage(LNG_ENGLISH);

in the constructor of one tab page. This line came from the UWord application that I've included in my application, Cool . I believed it was necessary for UWord.
I can't understand how it can affect the look of "1/2". Maybe it modify the charset or something similar.

Luigi
  • Attachment: swiss5.jpg
    (Size: 7.61KB, Downloaded 2399 times)

[Updated on: Wed, 17 May 2006 18:51]

Report message to a moderator

Re: Missing character (½) in 605 rc1 and rc2 [message #3286 is a reply to message #3283] Wed, 17 May 2006 20:32 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Hm, something to investigate....

Mirek
Re: Missing character (½) in 605 rc1 and rc2 [message #3287 is a reply to message #3286] Wed, 17 May 2006 20:39 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Well, it makes a switch to UTF-8... However, UTF-8 is what you are supposed to use, as long as you are not solving some legacy issues.....

Have you used some other charset settings? If your code in some other encoding (in TheIDE)?

I must admit that situation is a bit misleading here, as TheIDE has "Win1252 = ISO-8859-1" as "superdefault", not UTF-8...

Mirek
Re: Missing character (½) in 605 rc1 and rc2 [message #3289 is a reply to message #3287] Wed, 17 May 2006 21:07 Go to previous message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
luzr wrote on Wed, 17 May 2006 20:39

Well, it makes a switch to UTF-8... However, UTF-8 is what you are supposed to use, as long as you are not solving some legacy issues.....

Have you used some other charset settings? If your code in some other encoding (in TheIDE)?

I must admit that situation is a bit misleading here, as TheIDE has "Win1252 = ISO-8859-1" as "superdefault", not UTF-8...

Mirek


I'm using theIDE as it comes from the distro. In "Project/Convert to encoding" I read Windows-1252.
In the code there is no setting for language... even because I don't know how to do it.

By the way, in future I would like to know how the user can switch from one language to another and see the menu in his own language. In the past I prepared different message-menu-file from where get the correct translation. Unfortunately with it I couldn't set easily, say, cyrillic or german font under linux. Now with U++ I can resolve this problem. I guess I must use UTF-8 and some smart function connected with _t(...). But this is a task scheduled for June and overall to be treated in an another thread and in another forum or our Fudadmin will complain Smile

Luigi
Previous Topic: TheIDE crash and possible fix (602) [WAS FIXED]
Next Topic: Compound New <:PACKAGE:> name etc. [FEATURE REQUEST]
Goto Forum:
  


Current Time: Sun May 05 14:53:20 CEST 2024

Total time taken to generate the page: 0.01874 seconds