none
[MS-EMF] Font Weight rendering intent RRS feed

  • Question

  • The MS-EMF specification, section 2.2.11 ( see http://msdn.microsoft.com/en-au/library/cc204216.aspx) describes the LogFont structure.

    The Weight element is described as:
    Weight (4 bytes): A 32-bit signed integer that specifies the weight of the font in the range zero through 1000. For example, 400 is normal and 700 is bold.

    OK, of the 1001 possibilities, I now know what two are :-)

    Is there any more information on what ranges are intended to correspond with what types of font weights?

    I did find http://support.microsoft.com/kb/181944, which says
       *Value           Weight
    *FW_DONTCARE 0
    *FW_THIN 100
    *FW_EXTRALIGHT 200
    *FW_ULTRALIGHT 200
    *FW_LIGHT 300
    *FW_NORMAL 400
    *FW_REGULAR 400
    *FW_MEDIUM 500
    *FW_SEMIBOLD 600
    *FW_DEMIBOLD 600
    *FW_BOLD 700
    *FW_EXTRABOLD 800
    *FW_ULTRABOLD 800
    *FW_HEAVY 900
    *FW_BLACK 900
    However I'm not sure that is meant to be an "official" definition.

    My specific toolkit recognises Light, Normal, Demibold, Bold and Black; and ideally I'd like to assign a range to each of those. Can you advise of the intended weight for each value / range of values.

    Brad
    • Edited by Brad Hards Sunday, October 5, 2008 9:40 PM
    Sunday, October 5, 2008 9:51 AM

Answers

  • Hi Brad,

     

     

    After talking with the devs, upcoming versions of the doc will include the following information. The format is still not defined, but I wanted to provide you with a confirmation as soon as I had it:

     

    FW_THIN             100

    FW_EXTRALIGHT       200

    FW_LIGHT            300

    FW_NORMAL           400

    FW_MEDIUM           500

    FW_SEMIBOLD         600

    FW_BOLD             700

    FW_EXTRABOLD        800

    FW_HEAVY            900

     

    FW_ULTRALIGHT  =     FW_EXTRALIGHT

    FW_REGULAR       =   FW_NORMAL

    FW_DEMIBOLD      =   FW_SEMIBOLD

    FW_ULTRABOLD   =     FW_EXTRABOLD

    FW_BLACK          =  FW_HEAVY

     

     

    Please let me know if this satisfies your needs.

     

    Thanks a lot for helping us improving the documents.

     

    Regards,


    SEBASTIAN CANEVARI - MSFT SEE Protocol Documentation Team
    • Marked as answer by Brad Hards Friday, October 17, 2008 11:20 PM
    Friday, October 17, 2008 6:08 PM

All replies

  •  Hi Brad, thanks for your post regarding the [MS-EMF] protocol specification. We will review your question and update the forum once our investigation is complete.

    Thanks!
    John Dunning
    Escalation Engineer Microsoft Corporation
    US-CSS DSC PROTOCOL TEAM

    Sunday, October 5, 2008 12:53 PM
  • Hi Brad,

     

     

    After talking with the devs, upcoming versions of the doc will include the following information. The format is still not defined, but I wanted to provide you with a confirmation as soon as I had it:

     

    FW_THIN             100

    FW_EXTRALIGHT       200

    FW_LIGHT            300

    FW_NORMAL           400

    FW_MEDIUM           500

    FW_SEMIBOLD         600

    FW_BOLD             700

    FW_EXTRABOLD        800

    FW_HEAVY            900

     

    FW_ULTRALIGHT  =     FW_EXTRALIGHT

    FW_REGULAR       =   FW_NORMAL

    FW_DEMIBOLD      =   FW_SEMIBOLD

    FW_ULTRABOLD   =     FW_EXTRABOLD

    FW_BLACK          =  FW_HEAVY

     

     

    Please let me know if this satisfies your needs.

     

    Thanks a lot for helping us improving the documents.

     

    Regards,


    SEBASTIAN CANEVARI - MSFT SEE Protocol Documentation Team
    • Marked as answer by Brad Hards Friday, October 17, 2008 11:20 PM
    Friday, October 17, 2008 6:08 PM
  • I haven't done the implementation yet, but that looks it should cover this issue.

    If anything else comes up, I'll come back with (yet another :-)) query.

    Brad
    Friday, October 17, 2008 11:22 PM