Skip to content

13 files changed

+12
-12
lines changed

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
* text=lf
33

44
# don't mess with fonts
5-
src/font/* text=binary
5+
src/fonts/* text=binary

docs/Contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ For developing on MathQuill, run `make dev`. This will skip minifying MathQuill,
88

99
`make basic` builds a stripped-down version of MathQuill for basic mathematics, without advanced LaTeX commands. This version doesn't allow typed LaTeX backslash commands with `\` or text blocks with `$`, and also won't render any LaTeX commands that can't by typed without `\`. This version of MathQuill's JS is only somewhat smaller, but the font is like 100x smaller.
1010

11-
To run this smaller version, serve and load `mathquill-basic.{js,min.js,css}` and `font/Symbola-basic.{eot,ttf}` instead.
11+
To run this smaller version, serve and load `mathquill-basic.{js,min.js,css}` and `fonts/Symbola-basic.{eot,ttf}` instead.
1212

1313
# Testing
1414

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"files": [
1111
"build/mathquill.{css,js,min.js}",
12-
"build/font/Symbola.*",
12+
"build/fonts/Symbola.*",
1313
"quickstart.html"
1414
],
1515
"devDependencies": {

src/css/font.less

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,24 @@
99

1010
@basic:;
1111
.font-srcs() when not (@basic) {
12-
src: url(font/Symbola.eot);
12+
src: url(fonts/Symbola.eot);
1313
src:
1414
local("Symbola Regular"),
1515
local("Symbola"),
16-
url(font/Symbola.woff2) format("woff2"),
17-
url(font/Symbola.woff) format("woff"),
18-
url(font/Symbola.ttf) format("truetype"),
19-
url(font/Symbola.svg#Symbola) format("svg")
16+
url(fonts/Symbola.woff2) format("woff2"),
17+
url(fonts/Symbola.woff) format("woff"),
18+
url(fonts/Symbola.ttf) format("truetype"),
19+
url(fonts/Symbola.svg#Symbola) format("svg")
2020
;
2121
}
2222
.font-srcs() when (@basic) {
23-
src: url(font/Symbola-basic.eot);
23+
src: url(fonts/Symbola-basic.eot);
2424
src:
2525
local("Symbola Regular"),
2626
local("Symbola"),
27-
url(font/Symbola-basic.woff2) format("woff2"),
28-
url(font/Symbola-basic.woff) format("woff"),
29-
url(font/Symbola-basic.ttf) format("truetype")
27+
url(fonts/Symbola-basic.woff2) format("woff2"),
28+
url(fonts/Symbola-basic.woff) format("woff"),
29+
url(fonts/Symbola-basic.ttf) format("truetype")
3030
;
3131
}
3232

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)