LB Booster
« Typographical issues »

Welcome Guest. Please Login or Register.
Apr 1st, 2018, 04:50am



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
We apologize Conforums does not have any export functions to migrate data.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

Thank you Conforums members.
Speed up Liberty BASIC programs by up to ten times!
Compile Liberty BASIC programs to compact, standalone executables!
Overcome many of Liberty BASIC's bugs and limitations!
LB Booster Resources
LB Booster documentation
LB Booster Home Page
LB Booster technical Wiki
Just BASIC forum
BBC BASIC Home Page
Liberty BASIC forum (the original)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Typographical issues  (Read 761 times)
Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: Typographical issues
« Reply #6 on: Aug 13th, 2016, 10:44am »

on Aug 13th, 2016, 06:50am, CryptoMan wrote:
Yoga 2 had more than 3000 pixels wide and came with Windows 8. It was a disaster. Did not change with Windows 10. But, is it a problem of the application or Windows?

If the machine declares its DPI to Windows correctly, and if that DPI is higher than 120 (which it sounds as though it was) then the automatic scaling should come into play. The display should have been reported to all non-DPI-aware programs (which is the default) as 96 DPI and the Desktop Window Manager should automatically have scaled all output 'on the fly' to the native screen resolution.

I've seen that working correctly on multiple machines, and it's a godsend because it means the only DPI values you need to be aware of as a programmer are 96 and 120. If it was not working on your particular machine (and you had not deliberately disabled the high-DPI scaling) I would expect the problem to be the responsibility of the machine's manufacturer - perhaps the BIOS or graphics drivers - rather than Windows.

Quote:
Therefore, we can estimate the height of the box but for width it is going to be much more complex.

As I said, you have the STRINGWIDTH? command for that. It needs a graphicbox, but that can be hidden.

Quote:
Is it possible to get this size of max width of the fattest character in a given font and size?

The tmMaxCharWidth member of the TEXTMETRIC structure should give you that.

Richard.
User IP Logged

CryptoMan
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 46
xx Re: Typographical issues
« Reply #7 on: Aug 15th, 2016, 6:36pm »

Microsoft ruined my i7 Yoga2 so bad that I was forced to buy a i5 Acer couple of hours ago.

Yoga2 came with Windows 8 and after Windows 10 launched, Microsoft started pestering me for a Free Windows 10 Online Upgrade which I resisted for a year or so but finally I got fed up with it and said YES.

And, the result is total disaster. The battery which was lasting 4-5 hours started finishing in 30 minutes and after 15 minutes the screen started going dim with all sorts of static and horizontal and vertical sweeps. I replaced the expensive battery and no change.

Windows behaviour also got totally screwed up. Selected Windows remains in the background. You have to minimize all other Windows to bring the desired Window to foreground.

And, many other horror stories which finally ended up by buying a new laptop so that I can continue working.

The problems observed on Yoga2 with Windows 8 had 3200x1800 with Intel HD Graphics chipset.

I had problems on original Windows 8 at this resolution with Edraw Max software which I now tried on Ruined Windows 10 seems to be working properly which means something must have been fixed between Win 8/8.1 and Win 10. However, now that the Applicatıon behaves OK, the Legacy Windows Desktop icons became miniscule.

I have then adjusted the scale to effect from the main display settings
page. Icons remained miniscule although showing a 250% scale.

Then I went to Custom Scaling ( not recommended ) and tried 400% and 300% too much and eventually settled at 200% scaling level which made Windows itself reasonable at this setting.

However, when I went back to EdrawMax to see what happened, unfortunately same old story, unreadable microsized text and Windows just as if they are taking the reciprocal of the scaling I am setting at Windows.

Now, I check uTorrent and that's fine. Paint.NET livable but icons and toolboxes now too small. PowerPoint ditto.

Our own MFC Windows apps fine.

Now, the acid test: LBB 3.04 : perfect.

Liberty 4.5 also perfect.

So, it seems that certain applications can manage it well and some applications do it not so good and in the case of EdrawMax, awful. Like I said, they must be taking reciprocals.

Enough time lost. Better go back to work on the new Acer.

User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: Typographical issues
« Reply #8 on: Aug 15th, 2016, 7:14pm »

on Aug 15th, 2016, 6:36pm, CryptoMan wrote:
So, it seems that certain applications can manage it well and some applications do it not so good

I sympathise with Microsoft. They so often get the blame for shortcomings in application software over which they have no control.

Richard.
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls