Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
dart_pdf
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
David PHAM-VAN
2021-09-12 08:04:56 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ca1a8704ba3208d78836abbecb22ceb7a81c176a
ca1a8704
1 parent
f4520a87
Filter out OpenType fonts
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
540 deletions
printing/lib/src/fonts/gfonts.dart
test/build_gfonts.dart
printing/lib/src/fonts/gfonts.dart
View file @
ca1a870
...
...
@@ -1312,15 +1312,6 @@ class PdfGoogleFonts extends DownloadbleFont {
return
font
.
getFont
();
}
/// Andada regular
static
Future
<
Font
>
andadaRegular
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/andada/v12/uK_y4riWaego3w9RCh0TMv6EXw.ttf'
,
'Andada-Regular'
,
);
return
font
.
getFont
();
}
/// Andada Pro regular
static
Future
<
Font
>
andadaProRegular
()
{
const
font
=
PdfGoogleFonts
.
_
(
...
...
@@ -22768,276 +22759,6 @@ class PdfGoogleFonts extends DownloadbleFont {
return
font
.
getFont
();
}
/// Noto Sans HK 100
static
Future
<
Font
>
notoSansHKThin
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notosanshk/v6/nKKO-GM_FYFRJvXzVXaAPe9ZUHp1MOv2ObB7.otf'
,
'NotoSansHK-Thin'
,
);
return
font
.
getFont
();
}
/// Noto Sans HK 300
static
Future
<
Font
>
notoSansHKLight
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notosanshk/v6/nKKP-GM_FYFRJvXzVXaAPe9ZmFhTHMX6MKliqQ.otf'
,
'NotoSansHK-Light'
,
);
return
font
.
getFont
();
}
/// Noto Sans HK regular
static
Future
<
Font
>
notoSansHKRegular
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notosanshk/v6/nKKQ-GM_FYFRJvXzVXaAPe9hMnB3Eu7mOQ.otf'
,
'NotoSansHK-Regular'
,
);
return
font
.
getFont
();
}
/// Noto Sans HK 500
static
Future
<
Font
>
notoSansHKMedium
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notosanshk/v6/nKKP-GM_FYFRJvXzVXaAPe9ZwFlTHMX6MKliqQ.otf'
,
'NotoSansHK-Medium'
,
);
return
font
.
getFont
();
}
/// Noto Sans HK 700
static
Future
<
Font
>
notoSansHKBold
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notosanshk/v6/nKKP-GM_FYFRJvXzVXaAPe9ZiF9THMX6MKliqQ.otf'
,
'NotoSansHK-Bold'
,
);
return
font
.
getFont
();
}
/// Noto Sans HK 900
static
Future
<
Font
>
notoSansHKBlack
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notosanshk/v6/nKKP-GM_FYFRJvXzVXaAPe9ZsF1THMX6MKliqQ.otf'
,
'NotoSansHK-Black'
,
);
return
font
.
getFont
();
}
/// Noto Sans JP 100
static
Future
<
Font
>
notoSansJPThin
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notosansjp/v28/-F6ofjtqLzI2JPCgQBnw7HFQoggM-FNthvIU.otf'
,
'NotoSansJP-Thin'
,
);
return
font
.
getFont
();
}
/// Noto Sans JP 300
static
Future
<
Font
>
notoSansJPLight
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notosansjp/v28/-F6pfjtqLzI2JPCgQBnw7HFQaioq1H1hj-sNFQ.otf'
,
'NotoSansJP-Light'
,
);
return
font
.
getFont
();
}
/// Noto Sans JP regular
static
Future
<
Font
>
notoSansJPRegular
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notosansjp/v28/-F62fjtqLzI2JPCgQBnw7HFowAIO2lZ9hg.otf'
,
'NotoSansJP-Regular'
,
);
return
font
.
getFont
();
}
/// Noto Sans JP 500
static
Future
<
Font
>
notoSansJPMedium
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notosansjp/v28/-F6pfjtqLzI2JPCgQBnw7HFQMisq1H1hj-sNFQ.otf'
,
'NotoSansJP-Medium'
,
);
return
font
.
getFont
();
}
/// Noto Sans JP 700
static
Future
<
Font
>
notoSansJPBold
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notosansjp/v28/-F6pfjtqLzI2JPCgQBnw7HFQei0q1H1hj-sNFQ.otf'
,
'NotoSansJP-Bold'
,
);
return
font
.
getFont
();
}
/// Noto Sans JP 900
static
Future
<
Font
>
notoSansJPBlack
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notosansjp/v28/-F6pfjtqLzI2JPCgQBnw7HFQQi8q1H1hj-sNFQ.otf'
,
'NotoSansJP-Black'
,
);
return
font
.
getFont
();
}
/// Noto Sans KR 100
static
Future
<
Font
>
notoSansKRThin
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notosanskr/v13/Pby6FmXiEBPT4ITbgNA5CgmOsn7uwpYcuH8y.otf'
,
'NotoSansKR-Thin'
,
);
return
font
.
getFont
();
}
/// Noto Sans KR 300
static
Future
<
Font
>
notoSansKRLight
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notosanskr/v13/Pby7FmXiEBPT4ITbgNA5CgmOelzI7rgQsWYrzw.otf'
,
'NotoSansKR-Light'
,
);
return
font
.
getFont
();
}
/// Noto Sans KR regular
static
Future
<
Font
>
notoSansKRRegular
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notosanskr/v13/PbykFmXiEBPT4ITbgNA5Cgm20HTs4JMMuA.otf'
,
'NotoSansKR-Regular'
,
);
return
font
.
getFont
();
}
/// Noto Sans KR 500
static
Future
<
Font
>
notoSansKRMedium
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notosanskr/v13/Pby7FmXiEBPT4ITbgNA5CgmOIl3I7rgQsWYrzw.otf'
,
'NotoSansKR-Medium'
,
);
return
font
.
getFont
();
}
/// Noto Sans KR 700
static
Future
<
Font
>
notoSansKRBold
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notosanskr/v13/Pby7FmXiEBPT4ITbgNA5CgmOalvI7rgQsWYrzw.otf'
,
'NotoSansKR-Bold'
,
);
return
font
.
getFont
();
}
/// Noto Sans KR 900
static
Future
<
Font
>
notoSansKRBlack
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notosanskr/v13/Pby7FmXiEBPT4ITbgNA5CgmOUlnI7rgQsWYrzw.otf'
,
'NotoSansKR-Black'
,
);
return
font
.
getFont
();
}
/// Noto Sans SC 100
static
Future
<
Font
>
notoSansSCThin
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notosanssc/v12/k3kJo84MPvpLmixcA63oeALZTYKL2wv287Sb.otf'
,
'NotoSansSC-Thin'
,
);
return
font
.
getFont
();
}
/// Noto Sans SC 300
static
Future
<
Font
>
notoSansSCLight
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notosanssc/v12/k3kIo84MPvpLmixcA63oeALZhaCt9yX6-q2CGg.otf'
,
'NotoSansSC-Light'
,
);
return
font
.
getFont
();
}
/// Noto Sans SC regular
static
Future
<
Font
>
notoSansSCRegular
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notosanssc/v12/k3kXo84MPvpLmixcA63oeALhL4iJ-Q7m8w.otf'
,
'NotoSansSC-Regular'
,
);
return
font
.
getFont
();
}
/// Noto Sans SC 500
static
Future
<
Font
>
notoSansSCMedium
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notosanssc/v12/k3kIo84MPvpLmixcA63oeALZ3aGt9yX6-q2CGg.otf'
,
'NotoSansSC-Medium'
,
);
return
font
.
getFont
();
}
/// Noto Sans SC 700
static
Future
<
Font
>
notoSansSCBold
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notosanssc/v12/k3kIo84MPvpLmixcA63oeALZlaet9yX6-q2CGg.otf'
,
'NotoSansSC-Bold'
,
);
return
font
.
getFont
();
}
/// Noto Sans SC 900
static
Future
<
Font
>
notoSansSCBlack
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notosanssc/v12/k3kIo84MPvpLmixcA63oeALZraWt9yX6-q2CGg.otf'
,
'NotoSansSC-Black'
,
);
return
font
.
getFont
();
}
/// Noto Sans TC 100
static
Future
<
Font
>
notoSansTCThin
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notosanstc/v11/-nFlOG829Oofr2wohFbTp9i9WyEJIfNZ1sjy.otf'
,
'NotoSansTC-Thin'
,
);
return
font
.
getFont
();
}
/// Noto Sans TC 300
static
Future
<
Font
>
notoSansTCLight
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notosanstc/v11/-nFkOG829Oofr2wohFbTp9i9kwMvDd1V39Hr7g.otf'
,
'NotoSansTC-Light'
,
);
return
font
.
getFont
();
}
/// Noto Sans TC regular
static
Future
<
Font
>
notoSansTCRegular
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notosanstc/v11/-nF7OG829Oofr2wohFbTp9iFOSsLA_ZJ1g.otf'
,
'NotoSansTC-Regular'
,
);
return
font
.
getFont
();
}
/// Noto Sans TC 500
static
Future
<
Font
>
notoSansTCMedium
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notosanstc/v11/-nFkOG829Oofr2wohFbTp9i9ywIvDd1V39Hr7g.otf'
,
'NotoSansTC-Medium'
,
);
return
font
.
getFont
();
}
/// Noto Sans TC 700
static
Future
<
Font
>
notoSansTCBold
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notosanstc/v11/-nFkOG829Oofr2wohFbTp9i9gwQvDd1V39Hr7g.otf'
,
'NotoSansTC-Bold'
,
);
return
font
.
getFont
();
}
/// Noto Sans TC 900
static
Future
<
Font
>
notoSansTCBlack
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notosanstc/v11/-nFkOG829Oofr2wohFbTp9i9uwYvDd1V39Hr7g.otf'
,
'NotoSansTC-Black'
,
);
return
font
.
getFont
();
}
/// Noto Serif regular
static
Future
<
Font
>
notoSerifRegular
()
{
const
font
=
PdfGoogleFonts
.
_
(
...
...
@@ -23074,258 +22795,6 @@ class PdfGoogleFonts extends DownloadbleFont {
return
font
.
getFont
();
}
/// Noto Serif JP 200
static
Future
<
Font
>
notoSerifJPExtraLight
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notoserifjp/v8/xn77YHs72GKoTvER4Gn3b5eMZBaPRkgfU8fEwb0.otf'
,
'NotoSerifJP-ExtraLight'
,
);
return
font
.
getFont
();
}
/// Noto Serif JP 300
static
Future
<
Font
>
notoSerifJPLight
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notoserifjp/v8/xn77YHs72GKoTvER4Gn3b5eMZHKMRkgfU8fEwb0.otf'
,
'NotoSerifJP-Light'
,
);
return
font
.
getFont
();
}
/// Noto Serif JP regular
static
Future
<
Font
>
notoSerifJPRegular
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notoserifjp/v8/xn7mYHs72GKoTvER4Gn3b5eMXNikYkY0T84.otf'
,
'NotoSerifJP-Regular'
,
);
return
font
.
getFont
();
}
/// Noto Serif JP 500
static
Future
<
Font
>
notoSerifJPMedium
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notoserifjp/v8/xn77YHs72GKoTvER4Gn3b5eMZCqNRkgfU8fEwb0.otf'
,
'NotoSerifJP-Medium'
,
);
return
font
.
getFont
();
}
/// Noto Serif JP 600
static
Future
<
Font
>
notoSerifJPSemiBold
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notoserifjp/v8/xn77YHs72GKoTvER4Gn3b5eMZAaKRkgfU8fEwb0.otf'
,
'NotoSerifJP-SemiBold'
,
);
return
font
.
getFont
();
}
/// Noto Serif JP 700
static
Future
<
Font
>
notoSerifJPBold
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notoserifjp/v8/xn77YHs72GKoTvER4Gn3b5eMZGKLRkgfU8fEwb0.otf'
,
'NotoSerifJP-Bold'
,
);
return
font
.
getFont
();
}
/// Noto Serif JP 900
static
Future
<
Font
>
notoSerifJPBlack
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notoserifjp/v8/xn77YHs72GKoTvER4Gn3b5eMZFqJRkgfU8fEwb0.otf'
,
'NotoSerifJP-Black'
,
);
return
font
.
getFont
();
}
/// Noto Serif KR 200
static
Future
<
Font
>
notoSerifKRExtraLight
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notoserifkr/v7/3JnmSDn90Gmq2mr3blnHaTZXTihC8O1ZNH1ahck.otf'
,
'NotoSerifKR-ExtraLight'
,
);
return
font
.
getFont
();
}
/// Noto Serif KR 300
static
Future
<
Font
>
notoSerifKRLight
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notoserifkr/v7/3JnmSDn90Gmq2mr3blnHaTZXTkxB8O1ZNH1ahck.otf'
,
'NotoSerifKR-Light'
,
);
return
font
.
getFont
();
}
/// Noto Serif KR regular
static
Future
<
Font
>
notoSerifKRRegular
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notoserifkr/v7/3Jn7SDn90Gmq2mr3blnHaTZXduZp1ONyKHQ.otf'
,
'NotoSerifKR-Regular'
,
);
return
font
.
getFont
();
}
/// Noto Serif KR 500
static
Future
<
Font
>
notoSerifKRMedium
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notoserifkr/v7/3JnmSDn90Gmq2mr3blnHaTZXThRA8O1ZNH1ahck.otf'
,
'NotoSerifKR-Medium'
,
);
return
font
.
getFont
();
}
/// Noto Serif KR 600
static
Future
<
Font
>
notoSerifKRSemiBold
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notoserifkr/v7/3JnmSDn90Gmq2mr3blnHaTZXTjhH8O1ZNH1ahck.otf'
,
'NotoSerifKR-SemiBold'
,
);
return
font
.
getFont
();
}
/// Noto Serif KR 700
static
Future
<
Font
>
notoSerifKRBold
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notoserifkr/v7/3JnmSDn90Gmq2mr3blnHaTZXTlxG8O1ZNH1ahck.otf'
,
'NotoSerifKR-Bold'
,
);
return
font
.
getFont
();
}
/// Noto Serif KR 900
static
Future
<
Font
>
notoSerifKRBlack
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notoserifkr/v7/3JnmSDn90Gmq2mr3blnHaTZXTmRE8O1ZNH1ahck.otf'
,
'NotoSerifKR-Black'
,
);
return
font
.
getFont
();
}
/// Noto Serif SC 200
static
Future
<
Font
>
notoSerifSCExtraLight
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notoserifsc/v8/H4c8BXePl9DZ0Xe7gG9cyOj7mm63SzZBEtERe7U.otf'
,
'NotoSerifSC-ExtraLight'
,
);
return
font
.
getFont
();
}
/// Noto Serif SC 300
static
Future
<
Font
>
notoSerifSCLight
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notoserifsc/v8/H4c8BXePl9DZ0Xe7gG9cyOj7mgq0SzZBEtERe7U.otf'
,
'NotoSerifSC-Light'
,
);
return
font
.
getFont
();
}
/// Noto Serif SC regular
static
Future
<
Font
>
notoSerifSCRegular
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notoserifsc/v8/H4chBXePl9DZ0Xe7gG9cyOj7oqCcbzhqDtg.otf'
,
'NotoSerifSC-Regular'
,
);
return
font
.
getFont
();
}
/// Noto Serif SC 500
static
Future
<
Font
>
notoSerifSCMedium
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notoserifsc/v8/H4c8BXePl9DZ0Xe7gG9cyOj7mlK1SzZBEtERe7U.otf'
,
'NotoSerifSC-Medium'
,
);
return
font
.
getFont
();
}
/// Noto Serif SC 600
static
Future
<
Font
>
notoSerifSCSemiBold
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notoserifsc/v8/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzZBEtERe7U.otf'
,
'NotoSerifSC-SemiBold'
,
);
return
font
.
getFont
();
}
/// Noto Serif SC 700
static
Future
<
Font
>
notoSerifSCBold
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notoserifsc/v8/H4c8BXePl9DZ0Xe7gG9cyOj7mhqzSzZBEtERe7U.otf'
,
'NotoSerifSC-Bold'
,
);
return
font
.
getFont
();
}
/// Noto Serif SC 900
static
Future
<
Font
>
notoSerifSCBlack
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notoserifsc/v8/H4c8BXePl9DZ0Xe7gG9cyOj7miKxSzZBEtERe7U.otf'
,
'NotoSerifSC-Black'
,
);
return
font
.
getFont
();
}
/// Noto Serif TC 200
static
Future
<
Font
>
notoSerifTCExtraLight
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notoseriftc/v8/XLY9IZb5bJNDGYxLBibeHZ0Bvr8vbX9GTsoOAX4.otf'
,
'NotoSerifTC-ExtraLight'
,
);
return
font
.
getFont
();
}
/// Noto Serif TC 300
static
Future
<
Font
>
notoSerifTCLight
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notoseriftc/v8/XLY9IZb5bJNDGYxLBibeHZ0BvtssbX9GTsoOAX4.otf'
,
'NotoSerifTC-Light'
,
);
return
font
.
getFont
();
}
/// Noto Serif TC regular
static
Future
<
Font
>
notoSerifTCRegular
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notoseriftc/v8/XLYgIZb5bJNDGYxLBibeHZ0BhnEESXFtUsM.otf'
,
'NotoSerifTC-Regular'
,
);
return
font
.
getFont
();
}
/// Noto Serif TC 500
static
Future
<
Font
>
notoSerifTCMedium
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notoseriftc/v8/XLY9IZb5bJNDGYxLBibeHZ0BvoMtbX9GTsoOAX4.otf'
,
'NotoSerifTC-Medium'
,
);
return
font
.
getFont
();
}
/// Noto Serif TC 600
static
Future
<
Font
>
notoSerifTCSemiBold
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notoseriftc/v8/XLY9IZb5bJNDGYxLBibeHZ0Bvq8qbX9GTsoOAX4.otf'
,
'NotoSerifTC-SemiBold'
,
);
return
font
.
getFont
();
}
/// Noto Serif TC 700
static
Future
<
Font
>
notoSerifTCBold
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notoseriftc/v8/XLY9IZb5bJNDGYxLBibeHZ0BvssrbX9GTsoOAX4.otf'
,
'NotoSerifTC-Bold'
,
);
return
font
.
getFont
();
}
/// Noto Serif TC 900
static
Future
<
Font
>
notoSerifTCBlack
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/notoseriftc/v8/XLY9IZb5bJNDGYxLBibeHZ0BvvMpbX9GTsoOAX4.otf'
,
'NotoSerifTC-Black'
,
);
return
font
.
getFont
();
}
/// Nova Cut regular
static
Future
<
Font
>
novaCutRegular
()
{
const
font
=
PdfGoogleFonts
.
_
(
...
...
@@ -28240,15 +27709,6 @@ class PdfGoogleFonts extends DownloadbleFont {
return
font
.
getFont
();
}
/// STIX Two Math regular
static
Future
<
Font
>
sTIXTwoMathRegular
()
{
const
font
=
PdfGoogleFonts
.
_
(
'https://fonts.gstatic.com/s/stixtwomath/v1/pONg1hwwL_6M9EkZySr_yteUi1rADEcF1pY.ttf'
,
'STIXTwoMath-Regular'
,
);
return
font
.
getFont
();
}
/// STIX Two Text regular
static
Future
<
Font
>
sTIXTwoTextRegular
()
{
const
font
=
PdfGoogleFonts
.
_
(
...
...
test/build_gfonts.dart
View file @
ca1a870
...
...
@@ -114,6 +114,10 @@ void main(List<String> args) async {
uri
=
uri
.
replace
(
scheme:
'https'
);
}
if
(!
uri
.
path
.
endsWith
(
'.ttf'
))
{
continue
;
}
output
.
writeln
(
''
);
output
.
writeln
(
'///
${f['family']}
${s.key}
'
);
output
.
writeln
(
'static Future<Font>
$family$sub
() {'
);
...
...
Please
register
or
login
to post a comment