File tree 1 file changed +17
-2
lines changed
1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -376,8 +376,22 @@ module StyleParam =
376
376
/// Names of installed font families
377
377
[<RequireQualifiedAccess>]
378
378
type FontFamily =
379
- | Arial | Balto | Courier_ New | Consolas | Droid_ Sans | Droid_ Serif | Droid_ Sans_ Mono | Gravitas_ One | Old_ Standard_ TT | Open_ Sans | Overpass | PT_ Sans_ Narrow | Raleway | Times_ New_ Roman
380
-
379
+ | Arial
380
+ | Balto
381
+ | Courier_ New
382
+ | Consolas
383
+ | Droid_ Sans
384
+ | Droid_ Serif
385
+ | Droid_ Sans_ Mono
386
+ | Gravitas_ One
387
+ | Old_ Standard_ TT
388
+ | Open_ Sans
389
+ | Overpass
390
+ | PT_ Sans_ Narrow
391
+ | Raleway
392
+ | Times_ New_ Roman
393
+ | Custom of string
394
+
381
395
static member toString = function
382
396
| Arial -> " Arial"
383
397
| Balto -> " Balto"
@@ -393,6 +407,7 @@ module StyleParam =
393
407
| PT_ Sans_ Narrow -> " PT Sans Narrow"
394
408
| Raleway -> " Raleway"
395
409
| Times_ New_ Roman -> " Times New Roman"
410
+ | Custom name -> name
396
411
397
412
static member convert = FontFamily.toString >> box
398
413
You can’t perform that action at this time.
0 commit comments