I'm seeing some similar results on another problem I am looking at. Let's follow up on this offline.
George Henne NS BASIC Corporation http://www.nsbasic.com >Hello George, > >The Touch Viva has the same 320 x 240 screen resolution screen as the >iPaq 2210 > >You can see the specification here : >http://www.htc.com/www/product/touchviva/specification.html > >So both have the same screen resolution, why is the font different ? > >In eVB by the way the font is the same size on both devices with a >similar test program. > >Unfortunately this is one of the obstacles that prevents us from >releasing our internal application, if I could at least determine >programmatically which device dispalys the small and which the big fonts >I could set a different font size. > >Devices which show big font : >HP iPaq 2210 >HP iPaq 4150 >HP iPAq hx2750 >HTC Diamond 1 >HTC Touch Pro 1 > >Devices which show small fonts : >iPaq hx 2790 >HP 112 Classic >HTC Touch Viva > > >Any thoughts ? > >Regards, > Niels > > > > >--- In [email protected], "George Henne" <g...@...> wrote: >> >> The Touch Viva has a QVGA screen (480x640) while the older iPaq 2210 has >> a 240x320 screen. The text is being displayed in hi resolution on the >Touch. >> >> I do not know of a fix for this. The PictureBox is doing what it is >> supposed to do, taking advantage of the additional pixels to do a better >> display, but I can understand that the result is not what you were >> looking for. >> >> >Hi, >> > >> >I have a strange problem with the PictureBox control in NSB CE 7, the >> >size of the font on the PicturBox is different on different devices. >> >When creating a new project with a PictureBox added to a form and then >> >adding the following code : >> > >> >ShowOKButton True >> > >> >Sub main >> > >> > picturebox1.FontName = "Tahoma" >> > picturebox1.fontsize = 20 >> > picturebox1.drawtext "This is Tahoma 20", 10, 10 >> > >> > picturebox1.FontName = "Courier New" >> > picturebox1.fontsize = 20 >> > picturebox1.drawtext "This is Courier New 20", 10, 50 >> > >> >End Sub >> > >> >I get the result as per screenshots below, the font is much bigger on >> >some device than on others. >> > >> >This is rather annoying as our application needs to run on a wide range >> >of devices. We found about as many devices with big as with small fonts. >> > >> >Example is the iPaq 2210 which displays big fonts and >> >HTC Touch Viva which displays small fonts >> >using the same code above >> > >> >How can I fix this ? If this is a bug, can I at least determine >> >programmatically if the device displays the big or the small fonts, so >> >that I can adjust the FontSize propery accordingly ? >> > >> >Screenshots of the result : >> > >> >http://img27.imageshack.us/img27/8941/pictureboxonhtctouchviv.jpg >> >http://img75.imageshack.us/img75/5096/pictureboxonipaq2210.jpg >> > >> > >> > Jingjok >> > >> > >> > >> >------------------------------------ >> > >> >Yahoo! Groups Links >> > >> > >> > >> > > > > >------------------------------------ > >Yahoo! Groups Links > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nsb-ce" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en -~----------~----~----~----~------~----~------~--~---
