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

Using existing packaging formats for current iteration #2

Open
pathumego opened this issue Jan 23, 2017 · 3 comments
Open

Using existing packaging formats for current iteration #2

pathumego opened this issue Jan 23, 2017 · 3 comments

Comments

@pathumego
Copy link
Contributor

I propose using a current standard repo format. Google Fonts follow a hybrid of https://github.com/raphaelbastide/Unified-Font-Repository. UFR is a repository structure and not meant to be a delivery package layout. But a subset of that could be easily used as the base for fontmanpkg.

  • UFR uses a yaml file as the metadata structure. I dont think the current METADATA.yaml from UFR is enough. So either we can use a new package.json or extend the YAML for now.

UFR current tree.

├── COPYRIGHT.md
├── FONTLOG.md
├── LICENSE.txt
├── METADATA.yml
├── README.md
├── TRADEMARKS.md
├── documentation
│   ├── Demo-v1.001-design-guide.md
│   ├── Demo-v1.001-specimen.pdf
│   └── images
│       ├── Demo-Italic-v1.001-specimen-001.png
│       ├── Demo-Regular-v1.001-specimen-001.png
│       ├── Demo-Regular-v1.001-specimen-002.png
│       └── Demo-mono-regular-v1.001-specimen-001.png
├── fonts
│   ├── Demo-italic.otf
│   ├── Demo-mono-italic.otf
│   ├── Demo-mono-regular.otf
│   ├── Demo-regular.otf
│   └── webfonts
│       ├── Demo-italic.eot
│       ├── Demo-italic.svg
│       ├── Demo-italic.ttf
│       ├── Demo-italic.woff
│       ├── Demo-mono-italic.eot
│       ├── Demo-mono-italic.svg
│       ├── Demo-mono-italic.ttf
│       ├── Demo-mono-italic.woff
│       ├── Demo-mono-regular.eot
│       ├── Demo-mono-regular.svg
│       ├── Demo-mono-regular.ttf
│       ├── Demo-mono-regular.woff\ 
│       ├── Demo-regular.eot
│       ├── Demo-regular.svg
│       ├── Demo-regular.ttf
│       └── Demo-regular.woff
└── sources

Proposed subset for fontmanpkg. I modified the font file names structure removing the hyphens in the font files.

├── FONTLOG.md
├── LICENSE.txt
├── METADATA.yml
├── README.md
├── fonts
│   └── otf
│       ├── Demo-Italic.otf
│       ├── DemoMono-Italic.otf
│       ├── DemoMono-Regular.otf
│       ├── Demo-Regular.otf
│   └── ttf
│       ├── DemoItalic.otf
│       ├── DemoMono-Italic.otf
│       ├── DemoMono-Regular.otf
│       ├── Demo-Regular.otf
│   └── webfonts
@lpsandaruwan
Copy link
Member

For the fact, I have included support for development Font files, simply use the fonts built into the gh-pages,

devel_fonts

@pathumego
Copy link
Contributor Author

@lpsandaruwan hmm I dont like having a such big dependency on GithubAPI so far we are ok with that dependency.

@lpsandaruwan
Copy link
Member

lpsandaruwan commented Jan 23, 2017

So there is no need to provide dev Fonts version as we discussed. :-)

lpsandaruwan added a commit to fontman/fontman-desktop-core that referenced this issue Feb 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants