nsIFontCatalogService

IID:a3057187-c40f-4ffa-9160-2b16482053b1
Inherits From:nsISupports

This interface is intended to be used as a service.


Constants

PRUint16 kFCWeightAny = 0
PRUint16 kFCWeightLight = 300
PRUint16 kFCWeightBook = 400
PRUint16 kFCWeightMedium = 400
PRUint16 kFCWeightRegular = 400
PRUint16 kFCWeightDemi = 600
PRUint16 kFCWeightDemibold = 600
PRUint16 kFCWeightBold = 700
PRUint16 kFCWeighBlack = 900
PRUint16 kFCWidthAny = 0
PRUint16 kFCWidthNarrow = 3
PRUint16 kFCWidthSemicondensed = 4
PRUint16 kFCWidthBlock = 5
PRUint16 kFCWidthMedium = 5
PRUint16 kFCWidthNormal = 5
PRUint16 kFCWidthBold = 7
PRUint16 kFCWidthWide = 7
PRUint16 kFCWidthDoubleWide = 9
PRUint16 kFCSlantAny = 0
PRUint16 kFCSlantRoman = 1
PRUint16 kFCSlantItalic = 2
PRUint16 kFCSlantOblique = 3
PRUint16 kFCSlantReverseItalic = 4
PRUint16 kFCSlantReverseOblique = 5
PRUint16 kFCSpacingAny = 0
PRUint16 kFCSpacingMonospace = 1
PRUint16 kFCSpacingProportional = 2

Methods

nsIArray getFontCatalogEntries ( ACString familyName , ACString language , PRUint16 weight , PRUint16 width , PRUint16 slant , PRUint16 spacing )

nsIArray getFontCatalogEntries ( ACString familyName , ACString language , PRUint16 weight , PRUint16 width , PRUint16 slant , PRUint16 spacing )

Arguments:
familyName
language
weight
width
slant
spacing

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com