Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
majodev
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
majodev
12y ago
Attention! Former downloads only provided fonts with the default Latin subset, this has been resolved (charsets are selectable). I'm sorry if this causes any inconvenience (please keep in mind, it's still a prototype)... https:&#
32.
▲
by
majodev
12y ago
Wow, Thanks you for this paste! I'll look into that and maybe provide some additional fonts on a per OS/Browser basis to download. The main problem is that it's impossible to have a static CSS snippet AND provide different fi
33.
▲
by
majodev
12y ago
AFAIK there aren't any .woff, .woff2, .svg, .eot in there + no CSS snippets to use them. Also 2.5GB is quite a big download.
34.
▲
by
majodev
12y ago
THX for this response! I'll look into that. Interestingly, Google's own Fonts API which I'm using with my service, doesn't provide any information about the underlying license of each font (I previously wanted to include
35.
▲
by
majodev
12y ago
Cool, I did not know that .woff is supported in every major browser. I will include a .woff only CSS snippet in the service ASAP. EDIT: Done.
36.
▲
by
majodev
12y ago
Based on your User-Agent, Google's CSS service only responds with a CSS to either a .woff, .woff2 .eot, .svg or .ttf font file. For local hosting you'll need to order these formats in a compatibility sequence, so every browser get
37.
▲
by
majodev
12y ago
Hm, well then I will have to request the font files fetched from their hosted CSS, compress them and pipe this output (the resulting zip) without any caching on the server. This may result in a higher latency, but might be more safe in rega
38.
▲
by
majodev
12y ago
I'm really not sure. However, I'm piping are the exact same fonts Google is serving in their hosted CSS-service - in a similar fashion like Clemens Lang's Bash script ( https://neverpanic.de/blog/2014/
39.
▲
Self-Hosting Google Web Fonts
(ranf.tl)
100 points
by
majodev
12y ago
|
54 comments
40.
▲
by
majodev
12y ago
Great idea. I recently wrapped Cryptocat with node-webkit (still awaiting PR approval https://github.com/cryptocat/cryptocat/pull/694 ), hence allow me to give you some lib recommendations: - Use node-webkit-b
41.
▲
by
majodev
12y ago
Location: Austria Remote: Yes Willing to relocate: Yes (within EU, else depends) Technologies: Trained user of Java, T/PL-SQL and ActionScript 3; Proficient in JavaScript (Browser/Node.js), Bash, VB, PHP, HTML