Coder Social home page Coder Social logo

brick's People

Contributors

alessiolaiso avatar alfredxing avatar barryceelen avatar bsdlp avatar curiositry avatar fluke avatar phoenixenero avatar senlin avatar simonwiles avatar wub avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

brick's Issues

Specimen page for each font

Although I can go to Google to see a sample specimen page for each font on brick.im, it will be useful to have them in the brick site itself. The user can click the image preview and land in a page similar to this: http://brick.im/preview/brick.html but for every font on the site. Those specimen pages are really useful to check the readability of the fonts before using them.

Favicon

It appears that the main site does not have a favicon. I do not know if this is intentional or not. Just thought I'd point it out. 😸

Suggest new flags!

I'm taking suggestions for new flags!

Good flags are easy to implement, and ideally, you can implement it yourself (most flags should just be an edit to index.php), but it's not a problem if you can't.

Ability to set your own example text

Hi, not sure what the "kiwi jam" thing is, but it would be nice if you could set the text you want previewed on the font page of the web site.

Cool project though, thanks!

Allow specifying subsets of the fonts

This request was triggered by loading the Noto font using Brick (see #1). The Google Fonts version loads faster if a subset is specified (e.g. &subset=latin) because the whole font contains characters for several scripts, which makes it large.

If Brick supported loading subsets in a similar manner (maybe a flag?), it would achieve feature parity with Google Fonts in this domain (specifically, large fonts could be loaded faster).

Extract font catalog into YAML file

Continuation of the discussion in #21

If we were to extract the font catalog from the PHP file into its own, dedicated YAML file, we could use that data in Jekyll for GitHub Pages.
I learned that PHP has in fact no native support for parsing YAML so, @alfredxing can you install and use PECL extension wherever the PHP file is running?

Site redesign

Backstory

The original site was thrown together in an hour during one of my classes (actually, a lab portion of of one of my computer science classes).

I honestly didn't expect to reach this level of popularity and usage. I didn't expect to reach the front page of Hacker News. Nor more than 2,000 stars on GitHub (thanks to everyone for supporting this project by the way!).

Thus, the site was coded up without much thought. It wasn't even responsive, though to my surprise more than 20% of visits to the site were from tablets or phones.

So...

The new design is a better thought-out and overall a lot cleaner. And it's responsive! It also comes with some awesome mouse-drawn illustrations.

The font catalogue was not changed however, though a complete revamp of that will hopefully be coming soon.

As always...

Feedback is of course welcome. If you find any bugs, or if you have any enhancements/ideas, feel free to comment or open up a new issue.

Incorrect response in Usage page

Usage mentions response looks like ... url(//brick.a.ssl.fastly.net/ebgaramond/400.woff) ... but it has been recently modified to ... url(//brick.a.ssl.fastly.net/fonts/ebgaramond/400.woff) ....

I would have changed it myself but I don't think you can make pull request for wiki pages.

Create and register bower packages

It could be great to be able to run something like bower install brick-open-sans and almost instantly be ready to use it.

But it may require to create separate git repository for each font, because it has no sense to register package with all of brick fonts.

Add Typeface to listings

It'd be nice to have the type face (serif, sans-serif, monospace, etc) listed with the font. For example, right now I'm looking for a monospace font for to display code with and it'd be great if I could just search for monospace to find the fonts I'd be interested in.

It seems some have sans or serif appended to the name, but it isn't consistent enough to be able to search on with confidence.

Add Bitter

It'd be great if you could add Bitter (from Google Fonts), I'm using it for titling. The rendering of brick.im (particularly) on Windows is starkly better, great work!

Font Suggestion: Add Linux Biolinum

  • Linux Biolinum

Thank you for providing such a great service, and in particular for making the awesome Linux Libertine available. Would you also consider adding its sister font, Linux Biolinum, to the collection? Like Linux Libertine, it's GPL and OFL, and the homepage is here: http://www.linuxlibertine.org.

These two fonts are especially useful for the complete set of diacritical marks they carry.

(Note: the WOFF files are already created, and available at the source site)

Font Collection

Possibly a feature that would allow you to pick an choose fonts and add them to a collection that gave you a URL to include them all, just like how Google Fonts does it. I may be able to code this feature this week.

Name suggestions

As @PascalPrecht mentioned in #9, Mozilla already has a popular project called Brick, so I'm taking feedback on whether to rename the project.

Comment with your thoughts on the issue. I'm also taking name suggestions if you want a rename.

Here are the criteria for new names:

  1. Must be one word
  2. Must have an available and reputable TLD (no .io please, they're really expensive. If you want to suggest .io, you can contribute the domain πŸ˜„)

Thanks!

Add Noto font

The Noto font is a very promising and ambitious font aimed at covering all scripts in current usage (the name stands for "no tofu") under a visually harmonious font. The stable release covers Latin, Cyrillic and Greek, but more families are already on track for release soon covering several other scripts. "Our current plan is to support all living scripts in Unicode by the end of 2014."

There are two families available in Google Fonts: Noto Sans and Noto Serif.

live preview

It would be great if the specimen page could utilize the fonts provided by brick and provide a form for a live preview.

For example, font shop's "Enter sample text":

http://www.fontshop.com/fonts/foundry/hurme_design/

In addition, this would eliminate a step in the woff creation process, essentially making it all automated and easy.

Help classify fonts!

I'm working on an enhanced version of the catalogue, which will allow everyone to filter by certain font properties.

For now I've added the classification (serif, sans serif, or monospace) and suggested usage (display or body). While all of the classification fields are filled out, most of the usage fields are blank (for you to fill out!).

Feel free to fill these out and/or add more properties (maybe a type property to elaborate on the class property. and which contains a more specific classification (modern, transitional, humanist, geometric, etc.)

The file is at [catalogue]/_data/fonts.yaml.

Happy forking! :octocat:

Add Lato

Forgot to add Lato in the beginning, will add it soon.

  • Lato

Font-weight is given an invalid value with italic fonts, causing wrong weights to be rendered

I noticed that the values given to font-weight in each @font-face rule are directly from the URL parameters.

An example: http://brick.a.ssl.fastly.net/Linux+Libertine:400,400i

For the italic variant in that request, the font-weight is 400i. This is an invalid value, which means that the heaviest font loaded will be used for rendering all italics.

Looking at the following examples shows how this causes unwanted behavior.

This page loads the fonts through a stylesheet link, like instructed:
http://www.film-o-holic.com/brick-example.html

It loads 400, 400i, 600,600i, 700, 700i for Linux Libertine and 400,400i,700,700i for Clear Sans.

This pages loads the fonts through an inline CSS, where each @font-face has a correct font-weight value. Otherwise it's identical:
http://www.film-o-holic.com/brick-example-2.html

Local fallback breaks italics

I have a site that uses EB Garamond, and on my machine italics do not work. I have EB Garamond installed locally. The local fallback for EB Garamond loads the "EB Garamond 12 Regular" font, so nothing is italicized.

@font-face{
    font-family:'Raleway';
    font-style:normal;
    font-weight:300;
    src:local('Raleway Light'),url(//brick.a.ssl.fastly.net/fonts/raleway/300.woff) format('woff')
}

@font-face{
    font-family:'Raleway';
    font-style:italic;
    font-weight:300;
    src:local('Raleway Light'),url(//brick.a.ssl.fastly.net/fonts/raleway/300i.woff) format('woff')
}

@font-face{
    font-family:'EB Garamond';
    font-style:normal;
    font-weight:400;
    src:local('EB Garamond 12 Regular'),url(//brick.a.ssl.fastly.net/fonts/ebgaramond/400.woff) format('woff')
}

@font-face{
    font-family:'EB Garamond';
    font-style:italic;
    font-weight:400;
    src:local('EB Garamond 12 Regular'),url(//brick.a.ssl.fastly.net/fonts/ebgaramond/400i.woff) format('woff')
}

@font-face{
    font-family:'EB Garamond';
    font-style:normal;
    font-weight:700;
    src:local(''),url(//brick.a.ssl.fastly.net/fonts/ebgaramond/700.woff) format('woff')
}

@font-face{
    font-family:'EB Garamond';
    font-style:italic;
    font-weight:700;
    src:local(''),url(//brick.a.ssl.fastly.net/fonts/ebgaramond/700i.woff) format('woff')
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.