Skip to content

Commit

Permalink
Merge pull request #107 from googlefonts/proof-fix
Browse files Browse the repository at this point in the history
fix proof views
  • Loading branch information
m4rc1e authored Nov 8, 2023
2 parents bbac553 + 385c44c commit 4840de6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ python = ">=3.7,<4.0"
fontTools = { version = ">=4.37.3", extras = ["ufo"] }
jinja2 = "*"
Pillow = "*"
glyphsets = ">=0.6.0"
glyphsets = ">=0.6.5"
uharfbuzz = "*"
pyahocorasick = "*"
selenium = ">=4.4.3"
Expand Down
11 changes: 7 additions & 4 deletions src/diffenator2/templates/diffbrowsers_proofer.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,9 @@ <h3>Glyphset: {{ glyph_set }}</h3>
{% for section_title, strings in section.items() %}
<div class="box">
<div class="box-title">{{ section_title }}</div>
{% for string in strings %}
<div class="box-text {{ font_class.class_name }}" style="font-size: {{ pt_size }}pt">{{ string }}</div>
{% for sentence in strings %}
<div class="box-text {{ font_class.class_name }}" style="font-size: {{ pt_size }}pt" lang="{{ sentence['lang'] }}">
{{ sentence["string"] }}</div>
{% endfor %}
</div>
{% endfor %}
Expand All @@ -98,8 +99,10 @@ <h3>Glyphset: {{ glyph_set }}</h3>
{% for section_title, strings in section.items() %}
<div class="box">
<div class="box-title">{{ section_title }}</div>
{% for string in strings %}
<div class="box-text {{ font_class.class_name }} box-text" style="font-size: {{ pt_size }}pt">{{ string }}</div>
{% for sentence in strings %}
<div class="box-text {{ font_class.class_name }} box-text" style="font-size: {{ pt_size }}pt" lang="{{ sentence['lang'] }}">
{{ sentence["string"] }}
</div>
{% endfor %}
</div>
{% endfor %}
Expand Down

0 comments on commit 4840de6

Please sign in to comment.