summaryrefslogtreecommitdiff
path: root/docs/_includes
diff options
context:
space:
mode:
authorRasmus Andersson <rasmus@notion.se>2020-02-09 04:05:32 +0300
committerRasmus Andersson <rasmus@notion.se>2020-02-09 04:05:32 +0300
commite9ff19a95ade15eec77bfe3ae073cab5e5b62e7d (patch)
treea497da8ab7f2e0a86a9182ae28a490d489ab36d9 /docs/_includes
parent93a2076a34265033cbde42a58f8f3d7bd60a6252 (diff)
downloadinter-3.12.tar.xz
v3.12v3.12
Diffstat (limited to 'docs/_includes')
-rw-r--r--docs/_includes/charset-table.html23
-rw-r--r--docs/_includes/ctxedit.html12
-rw-r--r--docs/_includes/preload-font-files.html4
3 files changed, 31 insertions, 8 deletions
diff --git a/docs/_includes/charset-table.html b/docs/_includes/charset-table.html
new file mode 100644
index 000000000..aabc6c318
--- /dev/null
+++ b/docs/_includes/charset-table.html
@@ -0,0 +1,23 @@
+{%
+if site.safe == false %}{%
+assign url_root = "/" %}{% else %}{%
+assign url_root = "/inter/" %}{% endif
+%}
+<!-- style in res/base.css -->
+<div class="charset-table">
+{% for g in site.data.glyphinfo.glyphs %}
+ {% comment %}
+
+ Ignore empty glyphs and glyphs without unicode mapping.
+
+ {% endcomment %}
+ {% if g[1] == 0 and g[2] %}
+ <a title="/{{g[0]}} U+{{g[2]}}{%if g[3]%} ({{g[3]}}) {%endif%}"
+ data-glyphname="{{g[0]}}"
+ data-cp="{{g[2]}}"
+ data-ucdescr="{{g[3]}}"
+ href="{{url_root}}glyphs/?g={{g[0]}}"
+ >&#x{{g[2]}}</a>
+ {% endif %}
+{% endfor %}
+</div>
diff --git a/docs/_includes/ctxedit.html b/docs/_includes/ctxedit.html
index 53e9eb8d8..931a5164e 100644
--- a/docs/_includes/ctxedit.html
+++ b/docs/_includes/ctxedit.html
@@ -19,9 +19,9 @@ endfor
<div class="wrapper">
<div class="control popup">
<select data-binding="style">
- <option value="thin">Thin (BETA)</option>
- <option value="extra-light">Extra Light (BETA)</option>
- <option value="light">Light (BETA)</option>
+ <option value="thin">Thin</option>
+ <option value="extra-light">Extra Light</option>
+ <option value="light">Light</option>
<option value="regular" default selected>Regular</option>
<option value="medium">Medium</option>
<option value="semi-bold">Semi Bold</option>
@@ -29,9 +29,9 @@ endfor
<option value="extra-bold">Extra Bold</option>
<option value="black">Black</option>
<option disabled>————————————</option>
- <option value="thin-italic">Thin Italic (BETA)</option>
- <option value="extra-light-italic">Extra Light Italic (BETA)</option>
- <option value="light-italic">Light Italic (BETA)</option>
+ <option value="thin-italic">Thin Italic</option>
+ <option value="extra-light-italic">Extra Light Italic</option>
+ <option value="light-italic">Light Italic</option>
<option value="italic">Italic</option>
<option value="medium-italic">Medium Italic</option>
<option value="semi-bold-italic">Semi Bold Italic</option>
diff --git a/docs/_includes/preload-font-files.html b/docs/_includes/preload-font-files.html
index ce779bc19..c39238c8f 100644
--- a/docs/_includes/preload-font-files.html
+++ b/docs/_includes/preload-font-files.html
@@ -5,5 +5,5 @@ assign url_root = "/" %}{% else %}{%
assign url_root = "/inter/" %}{% endif %}{%
assign font_v = site.data.fontinfo[0].version
-%}<link rel="preload" href="{{url_root}}font-files/Inter-roman.var.woff2?v=3.11" as="font" type="font/woff2" crossorigin="anonymous">
- <link rel="preload" href="{{url_root}}font-files/Inter-italic.var.woff2?v=3.11" as="font" type="font/woff2" crossorigin="anonymous"> \ No newline at end of file
+%}<link rel="preload" href="{{url_root}}font-files/Inter-roman.var.woff2?v=3.12" as="font" type="font/woff2" crossorigin="anonymous">
+ <link rel="preload" href="{{url_root}}font-files/Inter-italic.var.woff2?v=3.12" as="font" type="font/woff2" crossorigin="anonymous"> \ No newline at end of file