Microsoft Knowledge Base Email Alertz

KBAlertz.com: (177044) - In some situations, Windows does not properly handle fonts when converting from an enhanced metafile (EMF) to a normal Windows metafile (WMF). The result is that the converted WMF does not exactly match the original EMF. The fonts might have different...

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
KBAlertz referrals get
** SIX MONTHS FREE **


Community Site



We Send hundreds of thousands of emails using ASP.NET Email


ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




Article ID: 177044 - Last Review: November 21, 2006 - Revision: 3.1

BUG: EMF to WMF Conversion Problems

This article was previously published under Q177044

On This Page

SYMPTOMS

In some situations, Windows does not properly handle fonts when converting from an enhanced metafile (EMF) to a normal Windows metafile (WMF). The result is that the converted WMF does not exactly match the original EMF. The fonts might have different sizes and different rotations.

RESOLUTION

To work around the size problem, record the metafile using only positive font heights. To work around the rotation direction problem, record the metafile using a mapping mode in which positive y is down.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Font Height

The font height problem occurs because Windows converts all font heights to positive values during the conversion from EMF to WMF. For example, a font recorded with a height of -100 is converted to a font with a height of +100. As a result, a slightly different sized font appears because negative heights are interpreted as character heights while positive heights are interpreted as cell heights.

Font Rotation

The font rotation direction problem occurs because Windows does not properly handle rotated fonts when the metafile is in an inverted mapping mode. During EMF to WMF conversion, rotated fonts are rotated the wrong way when you use an inverted mapping mode. For example, converting an EMF that was recorded in MM_HIMETRIC and contains a rotated font, results in a WMF with the font rotated the other way.

APPLIES TO
  • Microsoft Win32 Application Programming Interface, when used with:
    • Microsoft Windows 95
Keywords: 
kbbug KB177044
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please