Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #24

Draft
wants to merge 21 commits into
base: master
Choose a base branch
from
Draft
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
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Fontaudio - icon toolkit for audio developers

> Version 1.0 – validation stage - any (polite) feedback is welcome:
> [202006] Version 1.1 - fixed icons appearance on windows (and hopefully linux).

> [201907] Version 1.0

> to leave feedback use issues on this repo, hit [@fefanto](https://twitter.com/fefanto) on twitter, or drop a me a [mail](mailto:[email protected])

Expand Down Expand Up @@ -124,22 +126,23 @@ public:

## Contributing

- All (polite) feedback is welcome. Contacts are on top of this file.
- Pull requests with new svg icons added in ./svgs folder are welcome. Keep in mind the goal of this package is to contain all possible Audio-Software-Related icons, but these icons will need to have some minimal general interest and usability. This is where You and I may argue but I'm looking forward to clear my own mind on this with Your very welcome help.
- All feedback is welcome. Contacts are on top of this file.
- Pull requests with new svg icons added in ./svgs folder are welcome. Keep in mind the goal of this package is to contain all possible Audio-Software-Related icons, but these icons will need to have some minimal general interest and usability. This is where You and I may argue but I'm looking forward to clear my own mind on this with Your very welcome help. See below for types of icons i plan to include in the future and if you want to contribute please do.
- Design related feedback is _very_ welcome : I am NOT a designer and I tried to give this icon set a minimal consistence being well aware that the work is _very much_ improvable. For reference I used some 256x256 svg files I made with the goal of having a consistent "mass" while preserving the natural difference in icon shapes. You can find them at _./svgs-refs_.

## Roadmap::Tooling

_Stuff I intend to go forward with goes here - help is welcome._

- public yarn/npm package for web projects :
- other wrappers? for the web ? wdl-ol / llv2? ...contributions/ideas/feedback here are very welcome.
- other wrappers? for the web ? wdl-ol / llv2? fontaudio is also on iPlug2 see [here](https://www.patreon.com/posts/30368442).

## Roadmap::Next Icons

_Icons that I more or less think to be useful and get queued go here_

- Drum Sampler Icons : kick, hat, cymbal etc. In more than one form maybe.
- Notation Software Icons : all music notation icons that maybe useful to someone making a music scoring software.

## Roadmap::Random Icon Ideas

Expand Down
10 changes: 5 additions & 5 deletions font/fontaudio.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@font-face {
font-family: "fontaudio";
src: url("./fontaudio.eot?93c1c656f8aefe4d3b93df78c10c3892?#iefix") format("embedded-opentype"),
url("./fontaudio.woff2?93c1c656f8aefe4d3b93df78c10c3892") format("woff2"),
url("./fontaudio.woff?93c1c656f8aefe4d3b93df78c10c3892") format("woff"),
url("./fontaudio.ttf?93c1c656f8aefe4d3b93df78c10c3892") format("truetype"),
url("./fontaudio.svg?93c1c656f8aefe4d3b93df78c10c3892#fontaudio") format("svg");
src: url("./fontaudio.eot?bcdf9e79b47ea68088754b5bebefeba7?#iefix") format("embedded-opentype"),
url("./fontaudio.woff2?bcdf9e79b47ea68088754b5bebefeba7") format("woff2"),
url("./fontaudio.woff?bcdf9e79b47ea68088754b5bebefeba7") format("woff"),
url("./fontaudio.ttf?bcdf9e79b47ea68088754b5bebefeba7") format("truetype"),
url("./fontaudio.svg?bcdf9e79b47ea68088754b5bebefeba7#fontaudio") format("svg");
}

i[class^="icon-"]:before, i[class*=" icon-"]:before {
Expand Down
Binary file modified font/fontaudio.eot
Binary file not shown.
124 changes: 62 additions & 62 deletions font/fontaudio.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified font/fontaudio.ttf
Binary file not shown.
Binary file modified font/fontaudio.woff
Binary file not shown.
Binary file modified font/fontaudio.woff2
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"svgo": "1.3.0"
},
"scripts": {
"build:svgclean": "node scripts/svgcleaner.js",
"build:svgclean": "node scripts/svgcleaner.js $1",
"build:font": "./node_modules/icon-font-generator/bin/icon-font-generator svgs/*.svg -o font -n fontaudio",
"build:jucedata": "node scripts/makejucecode.js",
"build:all": "yarn build:svgclean && yarn build:font && yarn build:jucedata && open ./font/fontaudio.html"
Expand Down
13 changes: 8 additions & 5 deletions scripts/svgcleaner.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,26 @@ const path = require("path");
const fs = require("fs");
const { exec } = require("child_process");

const directoryPath = "./svgs";
fs.readdir(directoryPath, function(err, files) {
var myArgs = process.argv.slice(2);
console.log('svgcleaner.js - optimizing all svgs in ', myArgs[0]);
const directoryPath = myArgs[0];

fs.readdir(directoryPath, function (err, files) {
if (err) {
return console.log("Unable to scan directory: " + err);
}
var count = 0;
files.forEach(function(file) {
files.forEach(function (file) {
if (file.split(".").pop() == "svg") {
count++;

console.log(`Optimizing ${file}...`);
exec(
// --disable=ConvertPathData,cleanupNumericValues
`./node_modules/svgo/bin/svgo --pretty --config \'./scripts/svgcleaner.yml\' -q ${path.join(
`./node_modules/svgo/bin/svgo --pretty --config \'./scripts/svgcleaner.yml\' -q \"${path.join(
directoryPath,
file
)}`,
)}\"`,
(err, stdout, stderr) => {
if (err) {
console.log(`error while executing svgo on ${file} : ${err}`);
Expand Down
12 changes: 1 addition & 11 deletions svgs/fad-automation-2p.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 1 addition & 15 deletions svgs/fad-automation-3p.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 1 addition & 19 deletions svgs/fad-automation-4p.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 1 addition & 4 deletions svgs/fad-backward.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 1 addition & 4 deletions svgs/fad-bluetooth.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 1 addition & 4 deletions svgs/fad-close.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 1 addition & 5 deletions svgs/fad-copy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 1 addition & 4 deletions svgs/fad-cpu.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading