Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XFRX Preview with high resolution screen
Message
De
22/05/2015 00:47:59
 
 
À
21/05/2015 15:45:22
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01619596
Message ID:
01620075
Vues:
84
The DPI problem also affects pdf files generated by XFRX. Report form fields will start either overlapping or the data will not fit in the field.

I know of no way around this if you want the report to be a fixed width. It is not XFRX. Create a PDF from Excel and limit the page width and a high dpi will result in some odd looking pdf's.



>>>>I am getting complaints from my users that use high resolution monitors that xfrx preview doesn't fill the screen. Any ideas on how to fix this?
>>>
>>>There is a XSOURCE thing on VFPX that expresses it solves the problem.
>>>
>>>I have not figured out what it'e doing nor is it working with me, but I think you should try it.
>>>
>>>See
>>>
>>>http://vfpx.codeplex.com/releases/view/10984.
>>>
>>>Please let me know your result.
>>
>>I've been meaning to write a blog entry on this subject for a long time, but the short answer is... there are actually two issues regarding high DPI:
>>
>>The first one affects the rendering of the report. If you are seeing overlapping lines on some reports, especially group footers, and the user has scaled up their DPI to 125% or greater, then check out the latest release on VFPX. It may solve your problem.
>>
>>The second issue and the one being asked about here has to do with DPI scaling greater than 125%. On higher settings, Windows automatically scales up desktop applications, which is nice because your app might otherwise be tiny and unreadable on some screens. Unfortunately, this scaling cuts off parts of the report preview. This is internal to VFP and can't be fixed, short of writing a separate preview renderer (or hacking the runtime). The workaround is simply to turn off DPI scaling for your app (as recommended by Martina), leaving it running at the original resolution. This is probably ok for now, but as high-resolution monitors become more commonplace, users will start to complain that your app is too small. The preferred option is to do the scaling yourself, maybe break out those old scaling/anchoring libraries we used before VFP added anchoring.
>
>>.... You could also leave DPI scaling on, export to PDF, and use a PDF reader rather than a VFP previewer.
>
>This affects preview or printed pages too? (I have this issue with a portable but this is not in reach for the moment.)
>If it is preview only one should be able to get the full picture out of GDI+ somehow.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform