![]()  | 
 
Ribbon group text clipped with custom Office font | 
 
    Post Reply  
   | 
  
| Author | |
   
   SvenC  
   
   Groupie  
   Joined: 02 February 2007 Status: Offline Points: 79  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: Ribbon group text clipped with custom Office fontPosted: 01 February 2012 at 8:49am  | 
 
| 
   
    Hi, when I change the Ribbons font with this line 
  pBars->GetPaintManager()->m_strOfficeFont = _T("Tahoma"); 
some characters get clipped pixels at their bottom, like g or p, with g being the more obvious one. 
I tried Tahoma and Arial. This does not happen with the default font. 
This is on Win7 SP1 x64 with DPI set at 100% 
    | 
 |
| 
   
     
     -- 
   
  SvenC Toolkit Pro 15.3.1, 16.2.4, 16.3.1, 16.4.0, 17.2.0, 17.3.0, 18.0.1, 18.2 with VC++ 2010, 2012, 2013, 2015, 2017  | 
 |
![]()  | 
 |
    Post Reply  
   | 
  |
|       
  
  Tweet   	
    | 
 
| Forum Jump | Forum Permissions  ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum  |