Skip to content

Commit

Permalink
rebuild project (to make jest work), add font-loader stub
Browse files Browse the repository at this point in the history
  • Loading branch information
hyvyys committed Aug 27, 2019
1 parent b57edea commit 3329de8
Show file tree
Hide file tree
Showing 123 changed files with 8,065 additions and 149 deletions.
7 changes: 7 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[*.{js,jsx,ts,tsx,vue}]
indent_style = space
indent_size = 2
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 100
20 changes: 20 additions & 0 deletions LICENSE.OpenType.js.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
The MIT License (MIT)

Copyright (c) 2017 Frederik De Bleser

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 changes: 21 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright 2019 Adam Jagosz

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
51 changes: 17 additions & 34 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,22 @@
# bulletproof
# [Bulletproof](https://hyvyys.github.io/Bulletproof/)

## Project setup
```
npm install
```
A visual font testing tool, largely inspired by Pablo Impallari's font testing site.

### Compiles and hot-reloads for development
```
npm run serve
```
# Features

### Compiles and minifies for production
```
npm run build
```
* Loading local font files
* Setting texts in various languages including pangrams, sentences, ABC's (and AĄBCĆ's), etc. (drawn from my other project [language-data](https://github.com/hyvyys/language-data)). Those text strings can be filtered by language script (Latin, Cyrillic, Greek... more to come, maybe), region, number of speakers, or specific languages can be chosen.
* Setting font size and line height, text alignment, text and background colors
* Toggling OpenType features on and off
* Manipulating OpenType Variation axes
* Animating OpenType Variation axes via CSS keyframes
* Feature and variation axes detection based on font file (thanks to [OpenType.js](https://github.com/opentypejs/opentype.js))

### Run your tests
```
npm run test
```
# Roadmap

### Lints and fixes files
```
npm run lint
```

### Run your end-to-end tests
```
npm run test:e2e
```

### Run your unit tests
```
npm run test:unit
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
* Kerning string generator
* “Waterfall” of samples of degrading point sizes
* Grouped and named feature toggles
* A more user-friendly GUI for animations, automating some bits
* Animation of colors, text, etc. — would be useful for recording gifs or videos
* Enable storing a list of font files to open. This would require downloading the built app and running it with a user-defined list of local font files (via text file). Opening local files automatically from live site is impossible for security reasons. They would need to be uploaded (you wouldn't like that!) and I would need to run a server.
Loading

0 comments on commit 3329de8

Please sign in to comment.