1
1
mirror of https://github.com/rsms/inter.git synced 2024-12-25 16:44:27 +03:00

Update docs

This commit is contained in:
Rasmus Andersson 2017-08-22 11:12:15 -07:00
parent ea533dc0fb
commit 01a5eaa1d4
3 changed files with 20 additions and 0 deletions

View File

@ -234,18 +234,29 @@ After you rebuild some font files, reload the web page to refresh fonts.
No, you don't. To build font files, all you need is Python. To edit the font files, you need something that can edit UFO files (like [RoboFont](http://robofont.com/) or a text editor.)
----
> `KeyError: 'Lj'` when building
This probably means that you need to run `./init.sh` to setup the case-sensitive virtual file system mount that is needed by the font build system. Unfortunately the toolchain used (which is the same as for Roboto) requires not only a case-preserving file system, but also a case-sensitive one.
----
> `ImportError: No module named robofab.objects.objectsRF`
Python virtualenv not configured. Run `. init.sh`
----
> `make: *** No rule to make target ...`
Run `./init.sh` to update the generated makefile.
----
> How can I inspect a compiled font file?
Use the fontinfo.py tool which outputs JSON describing all properties of
one or more font files.
See `misc/fontinfo.py -h` for details.
Example use: `misc/fontinfo.py build/dist/Interface-BoldItalic.ttf`

View File

@ -297,5 +297,14 @@ a > img {
<a href="https://twitter.com/rsms" class="plain">@rsms</a>
</div></div>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-105091131-2', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 718 KiB

After

Width:  |  Height:  |  Size: 728 KiB