• Articles
  • API Documentation
Search Results for

    Show / Hide Table of Contents
    • SixLabors.Fonts
      • ColorFontSupport
      • Font
      • FontCollection
      • FontCollectionExtensions
      • FontDescription
      • FontException
      • FontFamily
      • FontFamilyNotFoundException
      • FontMetrics
      • FontRectangle
      • FontStyle
      • Glyph
      • GlyphBounds
      • GlyphColor
      • GlyphLayoutMode
      • GlyphMetrics
      • GlyphMissingException
      • GlyphRendererParameters
      • GlyphType
      • HintingMode
      • HorizontalAlignment
      • HorizontalMetrics
      • IColorGlyphRenderer
      • IFontCollection
      • IGlyphRenderer
      • IGlyphRendererExtensions
      • IMetricsHeader
      • IReadOnlyFontCollection
      • IReadOnlySystemFontCollection
      • InvalidFontFileException
      • InvalidFontTableException
      • KerningMode
      • LayoutMode
      • LayoutModeExtensions
      • MissingFontTableException
      • SystemFonts
      • TextAlignment
      • TextAttributes
      • TextDecorations
      • TextDirection
      • TextJustification
      • TextMeasurer
      • TextOptions
      • TextRenderer
      • TextRun
      • VerticalAlignment
      • VerticalMetrics
      • WordBreaking
    • SixLabors.Fonts.Tables.AdvancedTypographic
      • FeatureTags
      • GlyphClassDef
      • Tag
    • SixLabors.Fonts.Tables.TrueType
      • TrueTypeGlyphMetrics
    • SixLabors.Fonts.Unicode
      • ArabicJoiningClass
      • ArabicJoiningGroup
      • ArabicJoiningType
      • BidiCharacterType
      • BidiClass
      • BidiPairedBracketType
      • CodePoint
      • GraphemeClusterClass
      • IndicPositionalCategory
      • IndicSyllabicCategory
      • LineBreakClass
      • MemoryExtensions
      • ScriptClass
      • SpanCodePointEnumerator
      • SpanGraphemeEnumerator
      • VerticalOrientationType
    • SixLabors.Fonts.WellKnownIds
      • KnownNameIds

    Class FontCollectionExtensions

    Extension methods for IFontCollection.

    Inheritance
    object
    FontCollectionExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: SixLabors.Fonts
    Assembly: SixLabors.Fonts.dll
    Syntax
    public static class FontCollectionExtensions

    Methods

    | Edit this page View Source

    AddSystemFonts(FontCollection)

    Adds the fonts from the SystemFonts collection to this FontCollection.

    Declaration
    public static FontCollection AddSystemFonts(this FontCollection collection)
    Parameters
    Type Name Description
    FontCollection collection

    The font collection.

    Returns
    Type Description
    FontCollection

    The FontCollection containing the system fonts.

    | Edit this page View Source

    AddSystemFonts(FontCollection, Predicate<FontMetrics>)

    Adds the fonts from the SystemFonts collection to this FontCollection.

    Declaration
    public static FontCollection AddSystemFonts(this FontCollection collection, Predicate<FontMetrics> match)
    Parameters
    Type Name Description
    FontCollection collection

    The font collection.

    Predicate<FontMetrics> match

    The Predicate<T> delegate that defines the conditions of FontMetrics to add into the font collection.

    Returns
    Type Description
    FontCollection

    The FontCollection containing the system fonts.

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX