David PHAM-VAN

Filter out OpenType fonts

@@ -1312,15 +1312,6 @@ class PdfGoogleFonts extends DownloadbleFont { @@ -1312,15 +1312,6 @@ class PdfGoogleFonts extends DownloadbleFont {
1312 return font.getFont(); 1312 return font.getFont();
1313 } 1313 }
1314 1314
1315 - /// Andada regular  
1316 - static Future<Font> andadaRegular() {  
1317 - const font = PdfGoogleFonts._(  
1318 - 'https://fonts.gstatic.com/s/andada/v12/uK_y4riWaego3w9RCh0TMv6EXw.ttf',  
1319 - 'Andada-Regular',  
1320 - );  
1321 - return font.getFont();  
1322 - }  
1323 -  
1324 /// Andada Pro regular 1315 /// Andada Pro regular
1325 static Future<Font> andadaProRegular() { 1316 static Future<Font> andadaProRegular() {
1326 const font = PdfGoogleFonts._( 1317 const font = PdfGoogleFonts._(
@@ -22768,276 +22759,6 @@ class PdfGoogleFonts extends DownloadbleFont { @@ -22768,276 +22759,6 @@ class PdfGoogleFonts extends DownloadbleFont {
22768 return font.getFont(); 22759 return font.getFont();
22769 } 22760 }
22770 22761
22771 - /// Noto Sans HK 100  
22772 - static Future<Font> notoSansHKThin() {  
22773 - const font = PdfGoogleFonts._(  
22774 - 'https://fonts.gstatic.com/s/notosanshk/v6/nKKO-GM_FYFRJvXzVXaAPe9ZUHp1MOv2ObB7.otf',  
22775 - 'NotoSansHK-Thin',  
22776 - );  
22777 - return font.getFont();  
22778 - }  
22779 -  
22780 - /// Noto Sans HK 300  
22781 - static Future<Font> notoSansHKLight() {  
22782 - const font = PdfGoogleFonts._(  
22783 - 'https://fonts.gstatic.com/s/notosanshk/v6/nKKP-GM_FYFRJvXzVXaAPe9ZmFhTHMX6MKliqQ.otf',  
22784 - 'NotoSansHK-Light',  
22785 - );  
22786 - return font.getFont();  
22787 - }  
22788 -  
22789 - /// Noto Sans HK regular  
22790 - static Future<Font> notoSansHKRegular() {  
22791 - const font = PdfGoogleFonts._(  
22792 - 'https://fonts.gstatic.com/s/notosanshk/v6/nKKQ-GM_FYFRJvXzVXaAPe9hMnB3Eu7mOQ.otf',  
22793 - 'NotoSansHK-Regular',  
22794 - );  
22795 - return font.getFont();  
22796 - }  
22797 -  
22798 - /// Noto Sans HK 500  
22799 - static Future<Font> notoSansHKMedium() {  
22800 - const font = PdfGoogleFonts._(  
22801 - 'https://fonts.gstatic.com/s/notosanshk/v6/nKKP-GM_FYFRJvXzVXaAPe9ZwFlTHMX6MKliqQ.otf',  
22802 - 'NotoSansHK-Medium',  
22803 - );  
22804 - return font.getFont();  
22805 - }  
22806 -  
22807 - /// Noto Sans HK 700  
22808 - static Future<Font> notoSansHKBold() {  
22809 - const font = PdfGoogleFonts._(  
22810 - 'https://fonts.gstatic.com/s/notosanshk/v6/nKKP-GM_FYFRJvXzVXaAPe9ZiF9THMX6MKliqQ.otf',  
22811 - 'NotoSansHK-Bold',  
22812 - );  
22813 - return font.getFont();  
22814 - }  
22815 -  
22816 - /// Noto Sans HK 900  
22817 - static Future<Font> notoSansHKBlack() {  
22818 - const font = PdfGoogleFonts._(  
22819 - 'https://fonts.gstatic.com/s/notosanshk/v6/nKKP-GM_FYFRJvXzVXaAPe9ZsF1THMX6MKliqQ.otf',  
22820 - 'NotoSansHK-Black',  
22821 - );  
22822 - return font.getFont();  
22823 - }  
22824 -  
22825 - /// Noto Sans JP 100  
22826 - static Future<Font> notoSansJPThin() {  
22827 - const font = PdfGoogleFonts._(  
22828 - 'https://fonts.gstatic.com/s/notosansjp/v28/-F6ofjtqLzI2JPCgQBnw7HFQoggM-FNthvIU.otf',  
22829 - 'NotoSansJP-Thin',  
22830 - );  
22831 - return font.getFont();  
22832 - }  
22833 -  
22834 - /// Noto Sans JP 300  
22835 - static Future<Font> notoSansJPLight() {  
22836 - const font = PdfGoogleFonts._(  
22837 - 'https://fonts.gstatic.com/s/notosansjp/v28/-F6pfjtqLzI2JPCgQBnw7HFQaioq1H1hj-sNFQ.otf',  
22838 - 'NotoSansJP-Light',  
22839 - );  
22840 - return font.getFont();  
22841 - }  
22842 -  
22843 - /// Noto Sans JP regular  
22844 - static Future<Font> notoSansJPRegular() {  
22845 - const font = PdfGoogleFonts._(  
22846 - 'https://fonts.gstatic.com/s/notosansjp/v28/-F62fjtqLzI2JPCgQBnw7HFowAIO2lZ9hg.otf',  
22847 - 'NotoSansJP-Regular',  
22848 - );  
22849 - return font.getFont();  
22850 - }  
22851 -  
22852 - /// Noto Sans JP 500  
22853 - static Future<Font> notoSansJPMedium() {  
22854 - const font = PdfGoogleFonts._(  
22855 - 'https://fonts.gstatic.com/s/notosansjp/v28/-F6pfjtqLzI2JPCgQBnw7HFQMisq1H1hj-sNFQ.otf',  
22856 - 'NotoSansJP-Medium',  
22857 - );  
22858 - return font.getFont();  
22859 - }  
22860 -  
22861 - /// Noto Sans JP 700  
22862 - static Future<Font> notoSansJPBold() {  
22863 - const font = PdfGoogleFonts._(  
22864 - 'https://fonts.gstatic.com/s/notosansjp/v28/-F6pfjtqLzI2JPCgQBnw7HFQei0q1H1hj-sNFQ.otf',  
22865 - 'NotoSansJP-Bold',  
22866 - );  
22867 - return font.getFont();  
22868 - }  
22869 -  
22870 - /// Noto Sans JP 900  
22871 - static Future<Font> notoSansJPBlack() {  
22872 - const font = PdfGoogleFonts._(  
22873 - 'https://fonts.gstatic.com/s/notosansjp/v28/-F6pfjtqLzI2JPCgQBnw7HFQQi8q1H1hj-sNFQ.otf',  
22874 - 'NotoSansJP-Black',  
22875 - );  
22876 - return font.getFont();  
22877 - }  
22878 -  
22879 - /// Noto Sans KR 100  
22880 - static Future<Font> notoSansKRThin() {  
22881 - const font = PdfGoogleFonts._(  
22882 - 'https://fonts.gstatic.com/s/notosanskr/v13/Pby6FmXiEBPT4ITbgNA5CgmOsn7uwpYcuH8y.otf',  
22883 - 'NotoSansKR-Thin',  
22884 - );  
22885 - return font.getFont();  
22886 - }  
22887 -  
22888 - /// Noto Sans KR 300  
22889 - static Future<Font> notoSansKRLight() {  
22890 - const font = PdfGoogleFonts._(  
22891 - 'https://fonts.gstatic.com/s/notosanskr/v13/Pby7FmXiEBPT4ITbgNA5CgmOelzI7rgQsWYrzw.otf',  
22892 - 'NotoSansKR-Light',  
22893 - );  
22894 - return font.getFont();  
22895 - }  
22896 -  
22897 - /// Noto Sans KR regular  
22898 - static Future<Font> notoSansKRRegular() {  
22899 - const font = PdfGoogleFonts._(  
22900 - 'https://fonts.gstatic.com/s/notosanskr/v13/PbykFmXiEBPT4ITbgNA5Cgm20HTs4JMMuA.otf',  
22901 - 'NotoSansKR-Regular',  
22902 - );  
22903 - return font.getFont();  
22904 - }  
22905 -  
22906 - /// Noto Sans KR 500  
22907 - static Future<Font> notoSansKRMedium() {  
22908 - const font = PdfGoogleFonts._(  
22909 - 'https://fonts.gstatic.com/s/notosanskr/v13/Pby7FmXiEBPT4ITbgNA5CgmOIl3I7rgQsWYrzw.otf',  
22910 - 'NotoSansKR-Medium',  
22911 - );  
22912 - return font.getFont();  
22913 - }  
22914 -  
22915 - /// Noto Sans KR 700  
22916 - static Future<Font> notoSansKRBold() {  
22917 - const font = PdfGoogleFonts._(  
22918 - 'https://fonts.gstatic.com/s/notosanskr/v13/Pby7FmXiEBPT4ITbgNA5CgmOalvI7rgQsWYrzw.otf',  
22919 - 'NotoSansKR-Bold',  
22920 - );  
22921 - return font.getFont();  
22922 - }  
22923 -  
22924 - /// Noto Sans KR 900  
22925 - static Future<Font> notoSansKRBlack() {  
22926 - const font = PdfGoogleFonts._(  
22927 - 'https://fonts.gstatic.com/s/notosanskr/v13/Pby7FmXiEBPT4ITbgNA5CgmOUlnI7rgQsWYrzw.otf',  
22928 - 'NotoSansKR-Black',  
22929 - );  
22930 - return font.getFont();  
22931 - }  
22932 -  
22933 - /// Noto Sans SC 100  
22934 - static Future<Font> notoSansSCThin() {  
22935 - const font = PdfGoogleFonts._(  
22936 - 'https://fonts.gstatic.com/s/notosanssc/v12/k3kJo84MPvpLmixcA63oeALZTYKL2wv287Sb.otf',  
22937 - 'NotoSansSC-Thin',  
22938 - );  
22939 - return font.getFont();  
22940 - }  
22941 -  
22942 - /// Noto Sans SC 300  
22943 - static Future<Font> notoSansSCLight() {  
22944 - const font = PdfGoogleFonts._(  
22945 - 'https://fonts.gstatic.com/s/notosanssc/v12/k3kIo84MPvpLmixcA63oeALZhaCt9yX6-q2CGg.otf',  
22946 - 'NotoSansSC-Light',  
22947 - );  
22948 - return font.getFont();  
22949 - }  
22950 -  
22951 - /// Noto Sans SC regular  
22952 - static Future<Font> notoSansSCRegular() {  
22953 - const font = PdfGoogleFonts._(  
22954 - 'https://fonts.gstatic.com/s/notosanssc/v12/k3kXo84MPvpLmixcA63oeALhL4iJ-Q7m8w.otf',  
22955 - 'NotoSansSC-Regular',  
22956 - );  
22957 - return font.getFont();  
22958 - }  
22959 -  
22960 - /// Noto Sans SC 500  
22961 - static Future<Font> notoSansSCMedium() {  
22962 - const font = PdfGoogleFonts._(  
22963 - 'https://fonts.gstatic.com/s/notosanssc/v12/k3kIo84MPvpLmixcA63oeALZ3aGt9yX6-q2CGg.otf',  
22964 - 'NotoSansSC-Medium',  
22965 - );  
22966 - return font.getFont();  
22967 - }  
22968 -  
22969 - /// Noto Sans SC 700  
22970 - static Future<Font> notoSansSCBold() {  
22971 - const font = PdfGoogleFonts._(  
22972 - 'https://fonts.gstatic.com/s/notosanssc/v12/k3kIo84MPvpLmixcA63oeALZlaet9yX6-q2CGg.otf',  
22973 - 'NotoSansSC-Bold',  
22974 - );  
22975 - return font.getFont();  
22976 - }  
22977 -  
22978 - /// Noto Sans SC 900  
22979 - static Future<Font> notoSansSCBlack() {  
22980 - const font = PdfGoogleFonts._(  
22981 - 'https://fonts.gstatic.com/s/notosanssc/v12/k3kIo84MPvpLmixcA63oeALZraWt9yX6-q2CGg.otf',  
22982 - 'NotoSansSC-Black',  
22983 - );  
22984 - return font.getFont();  
22985 - }  
22986 -  
22987 - /// Noto Sans TC 100  
22988 - static Future<Font> notoSansTCThin() {  
22989 - const font = PdfGoogleFonts._(  
22990 - 'https://fonts.gstatic.com/s/notosanstc/v11/-nFlOG829Oofr2wohFbTp9i9WyEJIfNZ1sjy.otf',  
22991 - 'NotoSansTC-Thin',  
22992 - );  
22993 - return font.getFont();  
22994 - }  
22995 -  
22996 - /// Noto Sans TC 300  
22997 - static Future<Font> notoSansTCLight() {  
22998 - const font = PdfGoogleFonts._(  
22999 - 'https://fonts.gstatic.com/s/notosanstc/v11/-nFkOG829Oofr2wohFbTp9i9kwMvDd1V39Hr7g.otf',  
23000 - 'NotoSansTC-Light',  
23001 - );  
23002 - return font.getFont();  
23003 - }  
23004 -  
23005 - /// Noto Sans TC regular  
23006 - static Future<Font> notoSansTCRegular() {  
23007 - const font = PdfGoogleFonts._(  
23008 - 'https://fonts.gstatic.com/s/notosanstc/v11/-nF7OG829Oofr2wohFbTp9iFOSsLA_ZJ1g.otf',  
23009 - 'NotoSansTC-Regular',  
23010 - );  
23011 - return font.getFont();  
23012 - }  
23013 -  
23014 - /// Noto Sans TC 500  
23015 - static Future<Font> notoSansTCMedium() {  
23016 - const font = PdfGoogleFonts._(  
23017 - 'https://fonts.gstatic.com/s/notosanstc/v11/-nFkOG829Oofr2wohFbTp9i9ywIvDd1V39Hr7g.otf',  
23018 - 'NotoSansTC-Medium',  
23019 - );  
23020 - return font.getFont();  
23021 - }  
23022 -  
23023 - /// Noto Sans TC 700  
23024 - static Future<Font> notoSansTCBold() {  
23025 - const font = PdfGoogleFonts._(  
23026 - 'https://fonts.gstatic.com/s/notosanstc/v11/-nFkOG829Oofr2wohFbTp9i9gwQvDd1V39Hr7g.otf',  
23027 - 'NotoSansTC-Bold',  
23028 - );  
23029 - return font.getFont();  
23030 - }  
23031 -  
23032 - /// Noto Sans TC 900  
23033 - static Future<Font> notoSansTCBlack() {  
23034 - const font = PdfGoogleFonts._(  
23035 - 'https://fonts.gstatic.com/s/notosanstc/v11/-nFkOG829Oofr2wohFbTp9i9uwYvDd1V39Hr7g.otf',  
23036 - 'NotoSansTC-Black',  
23037 - );  
23038 - return font.getFont();  
23039 - }  
23040 -  
23041 /// Noto Serif regular 22762 /// Noto Serif regular
23042 static Future<Font> notoSerifRegular() { 22763 static Future<Font> notoSerifRegular() {
23043 const font = PdfGoogleFonts._( 22764 const font = PdfGoogleFonts._(
@@ -23074,258 +22795,6 @@ class PdfGoogleFonts extends DownloadbleFont { @@ -23074,258 +22795,6 @@ class PdfGoogleFonts extends DownloadbleFont {
23074 return font.getFont(); 22795 return font.getFont();
23075 } 22796 }
23076 22797
23077 - /// Noto Serif JP 200  
23078 - static Future<Font> notoSerifJPExtraLight() {  
23079 - const font = PdfGoogleFonts._(  
23080 - 'https://fonts.gstatic.com/s/notoserifjp/v8/xn77YHs72GKoTvER4Gn3b5eMZBaPRkgfU8fEwb0.otf',  
23081 - 'NotoSerifJP-ExtraLight',  
23082 - );  
23083 - return font.getFont();  
23084 - }  
23085 -  
23086 - /// Noto Serif JP 300  
23087 - static Future<Font> notoSerifJPLight() {  
23088 - const font = PdfGoogleFonts._(  
23089 - 'https://fonts.gstatic.com/s/notoserifjp/v8/xn77YHs72GKoTvER4Gn3b5eMZHKMRkgfU8fEwb0.otf',  
23090 - 'NotoSerifJP-Light',  
23091 - );  
23092 - return font.getFont();  
23093 - }  
23094 -  
23095 - /// Noto Serif JP regular  
23096 - static Future<Font> notoSerifJPRegular() {  
23097 - const font = PdfGoogleFonts._(  
23098 - 'https://fonts.gstatic.com/s/notoserifjp/v8/xn7mYHs72GKoTvER4Gn3b5eMXNikYkY0T84.otf',  
23099 - 'NotoSerifJP-Regular',  
23100 - );  
23101 - return font.getFont();  
23102 - }  
23103 -  
23104 - /// Noto Serif JP 500  
23105 - static Future<Font> notoSerifJPMedium() {  
23106 - const font = PdfGoogleFonts._(  
23107 - 'https://fonts.gstatic.com/s/notoserifjp/v8/xn77YHs72GKoTvER4Gn3b5eMZCqNRkgfU8fEwb0.otf',  
23108 - 'NotoSerifJP-Medium',  
23109 - );  
23110 - return font.getFont();  
23111 - }  
23112 -  
23113 - /// Noto Serif JP 600  
23114 - static Future<Font> notoSerifJPSemiBold() {  
23115 - const font = PdfGoogleFonts._(  
23116 - 'https://fonts.gstatic.com/s/notoserifjp/v8/xn77YHs72GKoTvER4Gn3b5eMZAaKRkgfU8fEwb0.otf',  
23117 - 'NotoSerifJP-SemiBold',  
23118 - );  
23119 - return font.getFont();  
23120 - }  
23121 -  
23122 - /// Noto Serif JP 700  
23123 - static Future<Font> notoSerifJPBold() {  
23124 - const font = PdfGoogleFonts._(  
23125 - 'https://fonts.gstatic.com/s/notoserifjp/v8/xn77YHs72GKoTvER4Gn3b5eMZGKLRkgfU8fEwb0.otf',  
23126 - 'NotoSerifJP-Bold',  
23127 - );  
23128 - return font.getFont();  
23129 - }  
23130 -  
23131 - /// Noto Serif JP 900  
23132 - static Future<Font> notoSerifJPBlack() {  
23133 - const font = PdfGoogleFonts._(  
23134 - 'https://fonts.gstatic.com/s/notoserifjp/v8/xn77YHs72GKoTvER4Gn3b5eMZFqJRkgfU8fEwb0.otf',  
23135 - 'NotoSerifJP-Black',  
23136 - );  
23137 - return font.getFont();  
23138 - }  
23139 -  
23140 - /// Noto Serif KR 200  
23141 - static Future<Font> notoSerifKRExtraLight() {  
23142 - const font = PdfGoogleFonts._(  
23143 - 'https://fonts.gstatic.com/s/notoserifkr/v7/3JnmSDn90Gmq2mr3blnHaTZXTihC8O1ZNH1ahck.otf',  
23144 - 'NotoSerifKR-ExtraLight',  
23145 - );  
23146 - return font.getFont();  
23147 - }  
23148 -  
23149 - /// Noto Serif KR 300  
23150 - static Future<Font> notoSerifKRLight() {  
23151 - const font = PdfGoogleFonts._(  
23152 - 'https://fonts.gstatic.com/s/notoserifkr/v7/3JnmSDn90Gmq2mr3blnHaTZXTkxB8O1ZNH1ahck.otf',  
23153 - 'NotoSerifKR-Light',  
23154 - );  
23155 - return font.getFont();  
23156 - }  
23157 -  
23158 - /// Noto Serif KR regular  
23159 - static Future<Font> notoSerifKRRegular() {  
23160 - const font = PdfGoogleFonts._(  
23161 - 'https://fonts.gstatic.com/s/notoserifkr/v7/3Jn7SDn90Gmq2mr3blnHaTZXduZp1ONyKHQ.otf',  
23162 - 'NotoSerifKR-Regular',  
23163 - );  
23164 - return font.getFont();  
23165 - }  
23166 -  
23167 - /// Noto Serif KR 500  
23168 - static Future<Font> notoSerifKRMedium() {  
23169 - const font = PdfGoogleFonts._(  
23170 - 'https://fonts.gstatic.com/s/notoserifkr/v7/3JnmSDn90Gmq2mr3blnHaTZXThRA8O1ZNH1ahck.otf',  
23171 - 'NotoSerifKR-Medium',  
23172 - );  
23173 - return font.getFont();  
23174 - }  
23175 -  
23176 - /// Noto Serif KR 600  
23177 - static Future<Font> notoSerifKRSemiBold() {  
23178 - const font = PdfGoogleFonts._(  
23179 - 'https://fonts.gstatic.com/s/notoserifkr/v7/3JnmSDn90Gmq2mr3blnHaTZXTjhH8O1ZNH1ahck.otf',  
23180 - 'NotoSerifKR-SemiBold',  
23181 - );  
23182 - return font.getFont();  
23183 - }  
23184 -  
23185 - /// Noto Serif KR 700  
23186 - static Future<Font> notoSerifKRBold() {  
23187 - const font = PdfGoogleFonts._(  
23188 - 'https://fonts.gstatic.com/s/notoserifkr/v7/3JnmSDn90Gmq2mr3blnHaTZXTlxG8O1ZNH1ahck.otf',  
23189 - 'NotoSerifKR-Bold',  
23190 - );  
23191 - return font.getFont();  
23192 - }  
23193 -  
23194 - /// Noto Serif KR 900  
23195 - static Future<Font> notoSerifKRBlack() {  
23196 - const font = PdfGoogleFonts._(  
23197 - 'https://fonts.gstatic.com/s/notoserifkr/v7/3JnmSDn90Gmq2mr3blnHaTZXTmRE8O1ZNH1ahck.otf',  
23198 - 'NotoSerifKR-Black',  
23199 - );  
23200 - return font.getFont();  
23201 - }  
23202 -  
23203 - /// Noto Serif SC 200  
23204 - static Future<Font> notoSerifSCExtraLight() {  
23205 - const font = PdfGoogleFonts._(  
23206 - 'https://fonts.gstatic.com/s/notoserifsc/v8/H4c8BXePl9DZ0Xe7gG9cyOj7mm63SzZBEtERe7U.otf',  
23207 - 'NotoSerifSC-ExtraLight',  
23208 - );  
23209 - return font.getFont();  
23210 - }  
23211 -  
23212 - /// Noto Serif SC 300  
23213 - static Future<Font> notoSerifSCLight() {  
23214 - const font = PdfGoogleFonts._(  
23215 - 'https://fonts.gstatic.com/s/notoserifsc/v8/H4c8BXePl9DZ0Xe7gG9cyOj7mgq0SzZBEtERe7U.otf',  
23216 - 'NotoSerifSC-Light',  
23217 - );  
23218 - return font.getFont();  
23219 - }  
23220 -  
23221 - /// Noto Serif SC regular  
23222 - static Future<Font> notoSerifSCRegular() {  
23223 - const font = PdfGoogleFonts._(  
23224 - 'https://fonts.gstatic.com/s/notoserifsc/v8/H4chBXePl9DZ0Xe7gG9cyOj7oqCcbzhqDtg.otf',  
23225 - 'NotoSerifSC-Regular',  
23226 - );  
23227 - return font.getFont();  
23228 - }  
23229 -  
23230 - /// Noto Serif SC 500  
23231 - static Future<Font> notoSerifSCMedium() {  
23232 - const font = PdfGoogleFonts._(  
23233 - 'https://fonts.gstatic.com/s/notoserifsc/v8/H4c8BXePl9DZ0Xe7gG9cyOj7mlK1SzZBEtERe7U.otf',  
23234 - 'NotoSerifSC-Medium',  
23235 - );  
23236 - return font.getFont();  
23237 - }  
23238 -  
23239 - /// Noto Serif SC 600  
23240 - static Future<Font> notoSerifSCSemiBold() {  
23241 - const font = PdfGoogleFonts._(  
23242 - 'https://fonts.gstatic.com/s/notoserifsc/v8/H4c8BXePl9DZ0Xe7gG9cyOj7mn6ySzZBEtERe7U.otf',  
23243 - 'NotoSerifSC-SemiBold',  
23244 - );  
23245 - return font.getFont();  
23246 - }  
23247 -  
23248 - /// Noto Serif SC 700  
23249 - static Future<Font> notoSerifSCBold() {  
23250 - const font = PdfGoogleFonts._(  
23251 - 'https://fonts.gstatic.com/s/notoserifsc/v8/H4c8BXePl9DZ0Xe7gG9cyOj7mhqzSzZBEtERe7U.otf',  
23252 - 'NotoSerifSC-Bold',  
23253 - );  
23254 - return font.getFont();  
23255 - }  
23256 -  
23257 - /// Noto Serif SC 900  
23258 - static Future<Font> notoSerifSCBlack() {  
23259 - const font = PdfGoogleFonts._(  
23260 - 'https://fonts.gstatic.com/s/notoserifsc/v8/H4c8BXePl9DZ0Xe7gG9cyOj7miKxSzZBEtERe7U.otf',  
23261 - 'NotoSerifSC-Black',  
23262 - );  
23263 - return font.getFont();  
23264 - }  
23265 -  
23266 - /// Noto Serif TC 200  
23267 - static Future<Font> notoSerifTCExtraLight() {  
23268 - const font = PdfGoogleFonts._(  
23269 - 'https://fonts.gstatic.com/s/notoseriftc/v8/XLY9IZb5bJNDGYxLBibeHZ0Bvr8vbX9GTsoOAX4.otf',  
23270 - 'NotoSerifTC-ExtraLight',  
23271 - );  
23272 - return font.getFont();  
23273 - }  
23274 -  
23275 - /// Noto Serif TC 300  
23276 - static Future<Font> notoSerifTCLight() {  
23277 - const font = PdfGoogleFonts._(  
23278 - 'https://fonts.gstatic.com/s/notoseriftc/v8/XLY9IZb5bJNDGYxLBibeHZ0BvtssbX9GTsoOAX4.otf',  
23279 - 'NotoSerifTC-Light',  
23280 - );  
23281 - return font.getFont();  
23282 - }  
23283 -  
23284 - /// Noto Serif TC regular  
23285 - static Future<Font> notoSerifTCRegular() {  
23286 - const font = PdfGoogleFonts._(  
23287 - 'https://fonts.gstatic.com/s/notoseriftc/v8/XLYgIZb5bJNDGYxLBibeHZ0BhnEESXFtUsM.otf',  
23288 - 'NotoSerifTC-Regular',  
23289 - );  
23290 - return font.getFont();  
23291 - }  
23292 -  
23293 - /// Noto Serif TC 500  
23294 - static Future<Font> notoSerifTCMedium() {  
23295 - const font = PdfGoogleFonts._(  
23296 - 'https://fonts.gstatic.com/s/notoseriftc/v8/XLY9IZb5bJNDGYxLBibeHZ0BvoMtbX9GTsoOAX4.otf',  
23297 - 'NotoSerifTC-Medium',  
23298 - );  
23299 - return font.getFont();  
23300 - }  
23301 -  
23302 - /// Noto Serif TC 600  
23303 - static Future<Font> notoSerifTCSemiBold() {  
23304 - const font = PdfGoogleFonts._(  
23305 - 'https://fonts.gstatic.com/s/notoseriftc/v8/XLY9IZb5bJNDGYxLBibeHZ0Bvq8qbX9GTsoOAX4.otf',  
23306 - 'NotoSerifTC-SemiBold',  
23307 - );  
23308 - return font.getFont();  
23309 - }  
23310 -  
23311 - /// Noto Serif TC 700  
23312 - static Future<Font> notoSerifTCBold() {  
23313 - const font = PdfGoogleFonts._(  
23314 - 'https://fonts.gstatic.com/s/notoseriftc/v8/XLY9IZb5bJNDGYxLBibeHZ0BvssrbX9GTsoOAX4.otf',  
23315 - 'NotoSerifTC-Bold',  
23316 - );  
23317 - return font.getFont();  
23318 - }  
23319 -  
23320 - /// Noto Serif TC 900  
23321 - static Future<Font> notoSerifTCBlack() {  
23322 - const font = PdfGoogleFonts._(  
23323 - 'https://fonts.gstatic.com/s/notoseriftc/v8/XLY9IZb5bJNDGYxLBibeHZ0BvvMpbX9GTsoOAX4.otf',  
23324 - 'NotoSerifTC-Black',  
23325 - );  
23326 - return font.getFont();  
23327 - }  
23328 -  
23329 /// Nova Cut regular 22798 /// Nova Cut regular
23330 static Future<Font> novaCutRegular() { 22799 static Future<Font> novaCutRegular() {
23331 const font = PdfGoogleFonts._( 22800 const font = PdfGoogleFonts._(
@@ -28240,15 +27709,6 @@ class PdfGoogleFonts extends DownloadbleFont { @@ -28240,15 +27709,6 @@ class PdfGoogleFonts extends DownloadbleFont {
28240 return font.getFont(); 27709 return font.getFont();
28241 } 27710 }
28242 27711
28243 - /// STIX Two Math regular  
28244 - static Future<Font> sTIXTwoMathRegular() {  
28245 - const font = PdfGoogleFonts._(  
28246 - 'https://fonts.gstatic.com/s/stixtwomath/v1/pONg1hwwL_6M9EkZySr_yteUi1rADEcF1pY.ttf',  
28247 - 'STIXTwoMath-Regular',  
28248 - );  
28249 - return font.getFont();  
28250 - }  
28251 -  
28252 /// STIX Two Text regular 27712 /// STIX Two Text regular
28253 static Future<Font> sTIXTwoTextRegular() { 27713 static Future<Font> sTIXTwoTextRegular() {
28254 const font = PdfGoogleFonts._( 27714 const font = PdfGoogleFonts._(
@@ -114,6 +114,10 @@ void main(List<String> args) async { @@ -114,6 +114,10 @@ void main(List<String> args) async {
114 uri = uri.replace(scheme: 'https'); 114 uri = uri.replace(scheme: 'https');
115 } 115 }
116 116
  117 + if (!uri.path.endsWith('.ttf')) {
  118 + continue;
  119 + }
  120 +
117 output.writeln(''); 121 output.writeln('');
118 output.writeln('/// ${f['family']} ${s.key}'); 122 output.writeln('/// ${f['family']} ${s.key}');
119 output.writeln('static Future<Font> $family$sub() {'); 123 output.writeln('static Future<Font> $family$sub() {');