Print Page | Close Window

Ribbon group text clipped with custom Office font

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=19454
Printed Date: 24 November 2024 at 7:44pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Ribbon group text clipped with custom Office font
Posted By: SvenC
Subject: Ribbon group text clipped with custom Office font
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net