mirror of
https://github.com/UglyToad/PdfPig.git
synced 2026-03-10 00:23:29 +08:00
Fix typo in SystemFontFinder and fix #728
This commit is contained in:
@@ -13,7 +13,7 @@ namespace UglyToad.PdfPig.Fonts.SystemFonts
|
||||
using TrueType.Parser;
|
||||
|
||||
/// <inheritdoc />
|
||||
public class SystemFontFinder : ISystemFontFinder
|
||||
public sealed class SystemFontFinder : ISystemFontFinder
|
||||
{
|
||||
private static readonly IReadOnlyDictionary<string, string[]> NameSubstitutes;
|
||||
private static readonly Lazy<IReadOnlyList<SystemFontRecord>> AvailableFonts;
|
||||
@@ -41,7 +41,7 @@ namespace UglyToad.PdfPig.Fonts.SystemFonts
|
||||
{"Times-Roman", new[] {"TimesNewRomanPSMT", "TimesNewRoman", "TimesNewRomanPS", "LiberationSerif", "NimbusRomNo9L-Regu"}},
|
||||
{"Times-Bold", new[] {"TimesNewRomanPS-BoldMT", "TimesNewRomanPS-Bold", "TimesNewRoman-Bold", "LiberationSerif-Bold", "NimbusRomNo9L-Medi"}},
|
||||
{"Times-Italic", new[] {"TimesNewRomanPS-ItalicMT", "TimesNewRomanPS-Italic", "TimesNewRoman-Italic", "LiberationSerif-Italic", "NimbusRomNo9L-ReguItal"}},
|
||||
{"TimesNewRomanPS-BoldItalicMT", new[] {"TimesNewRomanPS-BoldItalic", "TimesNewRoman-BoldItalic", "LiberationSerif-BoldItalic", "NimbusRomNo9L-MediItal"}},
|
||||
{"Times-BoldItalic", new[] {"TimesNewRomanPS-BoldItalicMT", "TimesNewRomanPS-BoldItalic", "TimesNewRoman-BoldItalic", "LiberationSerif-BoldItalic", "NimbusRomNo9L-MediItal"}},
|
||||
{"Symbol", new[] {"SymbolMT", "StandardSymL"}},
|
||||
{"ZapfDingbats", new[] {"ZapfDingbatsITC", "Dingbats", "MS-Gothic"}}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user