question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Regenerate `DefaultTexFont.xml`, update fonts

See original GitHub issue

While working on #70, I found that our TTF files seem to not correspond to our font metrics. I think that we should get both TTF and TFM files from some consistent source and regenerate the DefaultTexFont.xml data.

Don’t forget to publish all the scripts and clarify the documentation.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
alexregcommented, Jan 27, 2018

Hmm. Could do on-the-fly extraction as much as possible, and then fill in the remaining data from a (much smaller) XML/JSON file? But yeah, have a closer look first. Maybe it’s all there.

0reactions
ForNeVeRcommented, Dec 29, 2019

We should take a look at the https://github.com/himamis/ReTeX project. It looks like its auhors have replaced the original format with something less complicated. The metrics inside <FontDescriptions> look autogenerated.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add a font as an XML resource
Add a font as an XML resource · Right-click the res folder and go to New > Android resource directory. The New Resource...
Read more >
How to Restore Default Font Settings in Windows
1: Restore Default Font Settings in File or Windows Explorer Open File or Windows Explorer and go to C:\Windows\Fonts. Click on Font settings....
Read more >
How can I revert my Android phone to its very default font?
Go to /system/fonts and paste the fonts there with actual names (Roboto light, and so on). You will be asked if you wish...
Read more >
How To Change The Font In An XML Document
The first step is to open the XML document in the text editor. Next, locate the section of text that you wish to...
Read more >
How to restore back default/stock android font
Update : · 1. Go to UOT kitchen · 2. Navigate to “Fonts” tab and click on “use this mod”. After that select...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found