![]() |
#1 |
Участник
|
emeadaxsupport: Large blocks of italic text in an Xpp report may appear incorrect width on Win2008R2 or Win7
Источник: http://blogs.msdn.com/b/emeadaxsuppo...2-or-win7.aspx
============== Recently we came across an issue where a large block of italic text on an X++ report might appear the incorrect width when compared with the same block of non-italic text. In the screenshot below I have a custom report which shows two copies of the same memo field - the first is italic and the second is non-italic. As you can see the italic text is much shorter width than the non-italic. ![]() This happens when the clearType fonts feature is turned on in Windows - and by default it is turned on in Windows 7 and Windows 2008 R2. It's possibleto turn this feature off via control panel->display->adjust clear type text. Once it's turned off, running the same report again it appears as below with the same width for both fields: ![]() Th clearType feature is smoothing the edges of small fonts on screen to make them appear sharper, it's a pretty cool feature - http://www.microsoft.com/typography/ClearTypeInfo.mspx It's just unfortunate that with X++ reporting, because an italic font means that all of the edges of the font are jagged and pixelated, so cleartype smooths them a lot, and then the mechanism that calculates the widths of characters in ReportRun can't figure out how wide each character is. The workaround for now is to disable clearType. If you find that this is an issue for you, and you can't disable clearType then please contact us in support and we'll reconsider the priority of this issue. --author: Tariq Bell --editor: Tariq Bell --date: 25/07/2011 Источник: http://blogs.msdn.com/b/emeadaxsuppo...2-or-win7.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|