We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

pdfviewer control toolbar icons not drawn properly

On some of our clients the pdfviewer toolbar is not drawing the icons - just getting punctuation characters instead:


Any idea how to get it to draw correctly?

Thanks

8 Replies

US Uthandaraja Selva Sundara Kani Syncfusion Team November 13, 2019 01:23 PM UTC

Hi Leigh, 
 
Greetings from Syncfusion. 
 
We are unable to reproduce the issue “PdfViewerControl toolbar is not drawing icons” in our side.  Kindly refer the sample in the below link which we used to reproduce the reported issue.  
 

Please find the screenshot below for your reference, 

 
    
Kindly share the following details to analyze more on this and assist you a better solution,   
   
1.       Simple sample to reproduce the issue.    
2.       Replication procedure to reproduce the issue   
3.       Syncfusion product version.    
4.       .Net Framework    
5.       Visual Studio version.    
6.       Operating System    
 
Regards, 
Uthandaraja S 



LA Leigh Anderson November 13, 2019 03:15 PM UTC

Hi - It happens when using Remote Desktop to 2 different servers running Windows Server 2008 R2 64-bit.
.NET 4.6.2 on one and .NET 4.7 on the other.
Display driver is VMWare SVGA 3D.
PDFViewer is version 17.246.0.46.



US Uthandaraja Selva Sundara Kani Syncfusion Team November 14, 2019 10:51 AM UTC

 
Thanks for the details shared. 
 
Currently, we are working on creating an environment to reproduce the issue in our side with the details you provided and we will update further details on 18th November 2019.   
 
Regards, 
Uthandaraja S 



LA Leigh Anderson November 14, 2019 11:00 AM UTC

The problem sites are Server 2008 R2 Standard. 
Another site with Server 2008 R2 Enterprise is working fine.
It looks like a resource issue but not sure where to start looking.




US Uthandaraja Selva Sundara Kani Syncfusion Team November 15, 2019 11:53 AM UTC

Hi Leigh,  
  
Thanks for the details.  
  
As we mentioned earlier, we will update you further details on 18th November 2019.    
  
Regards,  
Uthandaraja S 



US Uthandaraja Selva Sundara Kani Syncfusion Team November 18, 2019 12:53 PM UTC

Hi Leigh, 

Sorry for the inconvenience. 

We are still creating the environment with the details provided to reproduce the reported issue, we will update you further details on 19th November 2019 without any further delay. 

Regards, 
Uthandaraja S 



US Uthandaraja Selva Sundara Kani Syncfusion Team November 19, 2019 09:39 AM UTC

Hi Leigh, 

Thanks for your patience. 

We are able to reproduce the issue “PdfViewerControl toolbar is not drawing icons” in Windows Server 2008 R2 Standard. We have forwarded this issue to our development team for further analysis and we will update further details on 21th November 2019.  
  
Regards,  
Uthandaraja S


US Uthandaraja Selva Sundara Kani Syncfusion Team November 21, 2019 02:58 PM UTC

 
Thanks for your patience. 
 
In PdfViewerControl, we are using System.Windows.Forms.ToolStripButton in our toolbar and we draw the icons for ToolStripButton using PrivateFontCollection.AddMemoryFont method in the ToolStripButton.OnPaint method with the help of System.Windows.Forms.PaintEventArgs.Graphics.DrawString. The toolbar icons in the PdfViewer are not drawn properly when it is accessed from Windows Server 2008 R2 Standard OS using Remote Desktop Connection and we suspect that this could be a behavior or issue of ToolStripButton. We have reported the same in msdn forum and will update you once we obtain any solution. Please find the forum link for your reference from below, 
 
Regards, 
Uthandaraja S 


Loader.
Up arrow icon