Hello,
An issue for the vector_graphics_compiler package:
I am generating SVGs with the VectSharp library which generates styling using a non-standard keyword, "regular" instead of "normal" for the font weight. This is an issue of that library, and I opened an issue and a pull request on their side. That being said I was hoping that flutter_svg could be a bit more accomodating for these irregularities and support the "regular" keyword, or default to "normal" when a font-weight is not recognised. at this moment the code simply throws an error.
Proposed change:
in lib/src/svg/parser.dart line 1387, replace by:
return normalFontWeight
Thank you for maintaining this library.
Hello,
An issue for the vector_graphics_compiler package:
I am generating SVGs with the VectSharp library which generates styling using a non-standard keyword, "regular" instead of "normal" for the font weight. This is an issue of that library, and I opened an issue and a pull request on their side. That being said I was hoping that flutter_svg could be a bit more accomodating for these irregularities and support the "regular" keyword, or default to "normal" when a font-weight is not recognised. at this moment the code simply throws an error.
Proposed change:
in lib/src/svg/parser.dart line 1387, replace by:
return normalFontWeight
Thank you for maintaining this library.