AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 25.07.2011, 22:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
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, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Microsoft Dynamics CRM Team Blog: Report Scheduling with Microsoft Dynamics CRM 4.0 Blog bot Dynamics CRM: Blogs 0 07.01.2011 20:11
emeadaxsupport: Proxy settings can interfere Dynamics AX 2009 report deployment Blog bot DAX Blogs 0 20.01.2010 15:05
emeadaxsupport: Visual Studio Dynamics AX report development how to associate X++ class with report dataSet Blog bot DAX Blogs 0 13.01.2010 23:08
emeadaxsupport: Error when deploying AX Report to SQL Reporting Server - Client found response type of 'text/html;charset=utf8;' but expected 'text/html' Blog bot DAX Blogs 0 12.01.2010 04:44
Microsoft Dynamics CRM Team Blog: Reports for CRM 4.0 using SQL Server 2008 and Report Builder 2.0 Blog bot Dynamics CRM: Blogs 0 11.11.2008 08:05

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 20:55.