Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
114 changes: 57 additions & 57 deletions fontspector-web/www/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion fontspector-web/www/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"harfbuzzjs": "^0.10.0",
"jquery": "^4.0.0",
"sass-embedded": "^1.97.3",
"typescript": "^6.0.0",
"typescript": "^5.9.3",
"vite": "^8.0.0",
"vite-plugin-static-copy": "^4.0.0",
"vite-plugin-top-level-await": "^1.6.0",
Expand Down
7 changes: 4 additions & 3 deletions fontspector-web/www/src/components/Navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,15 @@ function downloadReport() {
<template>
<nav class="navbar bg-navbar px-5 mb-4">
<a class="leftarrow text-secondary text-decoration-none" href="#" @click.prevent="resetState">←</a>
<a class="navbar-brand d-block" href="#" @click.prevent="resetState">
<a class="navbar-brand d-block">
<img src="/lens.svg" width="60" height="60" class="d-inline-block align-top m-2" alt="" />
<div class="d-inline-block align-middle">
Fontspector {{ state.view === 'classic' ? 'Check' : 'Problem' }} Report <br />
for <span id="font-name">{{ state.currentFontName }}</span>
</div>
<div class="fs-6 pl-4 text-muted">
Fontspector version {{ state.version }}
v{{ state.version }} –
<a href="https://github.com/fonttools/fontspector/issues">Report tool issues</a>
</div>

</a>
Expand Down Expand Up @@ -64,4 +65,4 @@ function downloadReport() {
[data-bs-theme=dark] .bg-navbar {
background-color: #2c2c2c;
}
</style>
</style>
5 changes: 4 additions & 1 deletion fontspector-web/www/src/components/StartModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ function initDropzone() {
List all checks
</button>
</p>
<p>
<a href="https://github.com/fonttools/fontspector/issues">Report issues or ideas on Github</a>
</p>
</div>
</div>
</div>
Expand Down Expand Up @@ -181,4 +184,4 @@ function initDropzone() {
border-radius: 70px;
background-color: rgba(5, 66, 86, 0.8)
}
</style>
</style>
3 changes: 2 additions & 1 deletion fontspector-web/www/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"allowJs": false,
"skipLibCheck": true,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"module": "ESNext",
"moduleResolution": "nodenext",
"moduleResolution": "Node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
Expand Down
10 changes: 5 additions & 5 deletions profile-googlefonts/src/checks/googlefonts/axes_match.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ fn axes_match(c: &TestableCollection, context: &Context) -> CheckFnResult {
let remote_style = remote_styles
.iter()
.flat_map(|s| TTF.from_testable(s))
.find(|remote_f| remote_f.best_subfamilyname() == our_subfamily_name)
.ok_or(FontspectorError::General(format!(
"No matching remote style for {}",
t.basename().unwrap_or("Regular".to_string())
)))?;
.find(|remote_f| remote_f.best_subfamilyname() == our_subfamily_name);
let Some(remote_style) = remote_style else {
// New style not present in the remote version; that's fine.
continue;
};
let remote_axes = remote_style
.font()
.axes()
Expand Down
Loading