Descriptions:
This is about Embedded PDF in IE frames from a production application that is not shown correctly via Remote Desktop. When we connected via RDP to the office computer showing the PDF and my existing machine (from where the RDP session is opened) has a display scaling that is not equal to 100%. The Foxit PDF Editor/Foxit PDF Reader Interface is not shown correctly. With the display scaling set to 100%, it will work fine.
The following picture is showing the production application and the embedded PDF:
As you can see several panes are shown twice, others like the print button not entirely.
Cause and solution:
The DPI setting mode of the product application itself for rendering the embedded PDF files might be “Process_DPI_Unaware“, whereas the DPI mode of our Foxit PDF Editor/Foxit PDF Reader for rendering embedded PDF files is “Process_Per_Monitor_DPI_Aware” this mode. The two modes don’t match, the embedded PDF file is scaled 2 times with inconsistent data eventually, that is the reason why the Foxit PDF Editor/Foxit PDF Reader Interface is not shown correctly. You could choose to change high DIP setting for the Foxit PDF Editor/Foxit PDF Reader application to get around the issue. (Take setting for Foxit PDF Editor as an example)
If you are an individual user of Foxit PDF Editor, do the following:
1:Right-click the Foxit PDF Editor application icon from desktop or Start menu,and select "Properties" option in the pop-up context menu to bring up "Foxit PDF Editor Properties" window.
2:Click on the Compatibility tab,click on "Change high DIP settings"button to open a new window.
3:In the newly pop-up window,please check option "Override high DIP scaling behavior,Scaling performed by:" which is under the "High DIP Scaling override" section in this window .
4:Please select "Application" from the drop-down menu,click on "OK" "OK" to save the setting. Then please try to open the embedded PDF file from a product application to see if the Foxit PDF Editor UI will be displayed properly.
5:If scaling peformed by "Application" doesn't solve the problem,please repeat the above mentioned step1 to step3 ,and select "System (Enhanced)" this option from drop-down menu to see if it will help?
In general, set one of them ("Application" "System (Enhanced))" from the "Override high DIP scaling behavior, Scaling performed by: “drop-down menu could solve the problem.
If you are an administrator, need to change high DIP setting for Foxit PDF Editor for all uses on multiple computers, choose one of the following optional methods:
No matter which of the following methods you will choose, first of all, you need to configure in one of your devices according to the method for individual user that have described in the above "If you are an individual user of Foxit PDF Editor, do the following:" section in this article to confirm which option(“Application” or "System (Enhanced)") need to set for getting the issue in your environment. After determining which option is valid, then proceed to choose of the following methods to configure DIP setting for multiple devices in batch.
Use MST file with MSI Installer.
If you want to change high DIP setting for Foxit PDF Editor when deploying MSI installer file, you can use the MST file to implement it.
1.Follow here to download an appropriate version of Foxit Customization Tool (FCT).
2.Run FCT, Choose “MSI” >”OK”,click on “Open a Package/File” button to open the appropriate MSI installer file.
3.Please click on ”Preferences” in the opened FCT tool>”Preferences”>please select “Application” or “System(Enhanced)” for “Change high DIP settings” option depends on the which option was valid that you have tested on one of your devices before.
4.Everything is done, click on “Save” button on top left corner to save current settings as .mst file.
5.Use the following command to apply MST file
msiexec /i Setup.msi TRANSFORMS=xxx.mst
Use GPO .
To change high DIP setting for Foxit PDF Editor via GPO configuration, complete the following steps:
1.Open Group Policy Editor, go to Computer Configuration or Users Configuration > Administrative Templates > Classic Administrative Templates.
2.Choose Foxit PDF Editor, select Preferences, and double click on Change high DIP Settings option.
3.Select Enable and choose “Application” or “System(Enhanced)” option to apply the change.
If you still don’t have Foxit PDF Editor GPO template imported in your Group Policy Editor,please download and install it from this article.
Use XML .
If you typically use an XML file to force settings on users, you can create and distribute an XML file to a dedicated folder on Users’ machine to change high DIP settings for your users. Below are steps:
1.Follow here to download an appropriate Foxit Customization open Foxit Customization wizard application, select XML Editor Foxit PDF Editor click on OK button to enter into XML editing mode.
2.Go to Preferences tab>”DPI Setting”>please select “Application” or “System (Enhanced)” for “Change high DIP settings” option,click on Save button on the left top corner to create an XML file. The default name would be “ProfStore.xml”.
3.Distribute the XML file into “ProfStore “ this folder which is under the main installation folder of your Foxit PDF Editor. By default ,the location is:
“C:\Program Files (x86)\Foxit Software\Foxit PDF Editor\ProfStore”.
4.Restart Foxit PDF Editor to apply the settings in XML file into Foxit PDF Editor application.
Set in Foxit PDF Editor registry key.
1:Firstly,please start registry editor:
In Windows 7, click Start, type regedit.exe in the search box, and then press Enter.
In Windows 10, Windows 8.1, and Windows 8, press the Windows key + R to open a Run dialog box, type regedit.exe, and then click OK.
Locate the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\
2:Please manually create “Foxit” sub-folder under “Policies”,create “PDFEditor” sub-folder under “Foxit”,create “Preferences” sub-folder under “PDFEditor”.
3:Right click on the right panel under the newly created “Preferences” key, choose “new“in the pop-up context menu>” DWORD(32-bit) Value” to create a new registry value and rename the registry value into “DPISettingOpt” , then change its value into 1 or 2.
Value 1 stands for changing high DPI settings into “System (Enhanced)”.
Value 2 stands for changing high DPI settings into “Application” .
.