summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Andersson <rasmus@notion.se>2017-08-22 21:12:15 +0300
committerRasmus Andersson <rasmus@notion.se>2017-08-22 21:12:15 +0300
commit01a5eaa1d494cda4358a5614a38102026c9cb140 (patch)
tree6268bf25da26fb2cd7ecb03f15ee9f599654c081
parentea533dc0fbaf7966339bcefaa58cecb8afb10d57 (diff)
downloadinter-01a5eaa1d494cda4358a5614a38102026c9cb140.tar.xz
Update docs
-rw-r--r--CONTRIBUTING.md11
-rw-r--r--docs/index.html9
-rw-r--r--docs/res/sample.pngbin734918 -> 745595 bytes
3 files changed, 20 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 0cd90f32b..8c6fa8198 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -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`
diff --git a/docs/index.html b/docs/index.html
index b06d141f9..1dad3f29e 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -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>
diff --git a/docs/res/sample.png b/docs/res/sample.png
index 99dceb3d6..1a6375a3e 100644
--- a/docs/res/sample.png
+++ b/docs/res/sample.png
Binary files differ