Print Page | Close Window

FontQuality bug

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=11774
Printed Date: 03 May 2024 at 8:51pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: FontQuality bug
Posted By: ABuenger
Subject: FontQuality bug
Date Posted: 08 August 2008 at 8:43pm
If you modify the Buttons.xaml and add FontQuality="ClearType" to the LightBlue button it has no effect. But if you then move the LightBlue button above the Red button so that it becomes the first one all text is rendered in ClearType.

<Button Margin="2" Background="LightBlue"  Cursor="Hand">
   <TextBlock HorizontalAlignment="Center" FontQuality="ClearType">This is Button</TextBlock>
</Button>




-------------
Codejock support



Replies:
Posted By: Oleg
Date Posted: 11 August 2008 at 2:15am
Thanks, fixed.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: ABuenger
Date Posted: 11 August 2008 at 5:43am
Btw, is FontQuality also a property of WPF? Haven't found it in the docs. Is this an XTP extension? In this case you should introduce xtp:Textblock and add it to the new element.



-------------
Codejock support


Posted By: Oleg
Date Posted: 11 August 2008 at 8:23am
Hi,
Yes, its our extension.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: ABuenger
Date Posted: 11 August 2008 at 8:53am
Originally posted by oleg oleg wrote:

Hi,
Yes, its our extension.


You shouldn't add proprietary extensions to standard elements!
Either introduce xtp:Textblock or add a member to your Markup object where the font quality can be set.



-------------
Codejock support



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