Removing Typography as a runtime dependency
Opened this issue · 2 comments
charlesroddie commented
What information do we need from LayoutFarm/Typography?
I think we should get this information and store it, probably in a file. Then the information doesn't need to be extracted at runtime.
Benefits to apps:
- deployment size
- reduced memory usage (#107)
- reduced potential for bugs (e.g. LayoutFarm/Typography#223)
Happypig375 commented
If I were to do this, I would go for source generators to increase speed and reduce memory usage. But this excludes F# and VB.
charlesroddie commented
If I were to do this, I would go for source generators to increase speed and reduce memory usage. But this excludes F# and VB.
As long as there is a type which contains the info, then whether that is encoded to a file or to C# source code is an implementation detail.
I assume that the relevant information is to do with glyph sizing & positioning in the maths font?