Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Ribbon group text clipped with custom Office font
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Ribbon group text clipped with custom Office font

 Post Reply Post Reply
Author
Message
SvenC View Drop Down
Groupie
Groupie


Joined: 02 February 2007
Status: Offline
Points: 79
Post Options Post Options   Thanks (0) Thanks(0)   Quote SvenC Quote  Post ReplyReply Direct Link To This Post Topic: Ribbon group text clipped with custom Office font
    Posted: 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.