Viewing profile — bramstein
bramstein
HN member- Joined
- Fri, Dec 11, 2009, 9:49 AM UTC
- HN karma
- 259
- Public activity
- 41 items
- HN profile
- View on Hacker News ↗
About bramstein
Recent public activity
-
comment
Comment #46138099
Would love to hear or read more about this if it is public.
- story
- story
-
comment
Comment #10025022
You can, but then you're limited to a single font format and you would not gain any benefits from the browsers' ability to download in parallel. A lot of this will improve when HTT…
-
comment
Comment #10024883
There are several hacks. Almost all of them rely on using JavaScript to make a XMLHttpRequest to retrieve font data. This will force the browser to load the fonts earlier by workin…
- story
- story
-
comment
Comment #5189775
I agree, hyphenation is crucial to proper line breaking. If you don't mind a JavaScript solution you can have a look at: * http://code.google.com/p/hyphenator/ * https://github.com…
-
comment
Comment #5189597
My colleague Tim Brown maintains a website containing links to all sorts of web typography resources: http://nicewebtype.com/
-
comment
Comment #5189271
As mentioned above, Knuth's algorithms are implemented in many professional typesetting and layout applications. I think the people implementing those applications have great respe…
-
comment
Comment #5189258
I'm not totally sure, but I think the linear time papers I've read sacrifice some of the aspects of the original Knuth and Plass algorithm. I think some of those are going to be ne…
-
comment
Comment #5189171
I'm really excited about this. While it is not the Knuth and Plass algorithm, it takes one of the nice features of it and proposes a simple algorithm to implement it. Implementing …
-
comment
Comment #2691826
I've been maintaining a jQuery plugin for the text-overflow property for a while. It works well in most cases: http://www.bramstein.com/projects/text-overflow/ You can see a test p…
-
comment
Comment #2528334
Author of the JS implementation here. Let me know if you have any questions about the implementation or problems integrating it. I was hoping someone would pick it up and integrate…
-
comment
Comment #2327164
Thanks for the reference. I have also recently released my own JavaScript hyphenation engine: https://github.com/bramstein/Hypher It is quite small and fast, and mostly aimed at in…
-
comment
Comment #2188608
I had a look at the problem and it seems to be related to the page transition animations (the amount of flicker seems corresponds to the animation steps.) I've created a ticket for…
-
comment
Comment #2188570
That looks like a bug, I've created a ticket for this issue: https://github.com/Treesaver/treesaver/issues#issue/147 Thanks for catching and reporting it.
-
comment
Comment #1976788
I would also highly recommend "Digital Typography" by Knuth. It contains a more detailed description of the algorithm as well as many interesting historical and technical chapters …
-
comment
Comment #1976783
It is the whole paragraph as far as I can tell (I haven't seen the internals, just the output.)
-
comment
Comment #1975208
As far as I know, this is the only implementation in JavaScript. It might be possible to turn this into a jQuery plugin at some point, but there are probably quite a couple of bugf…
-
comment
Comment #1975199
Internet Explorer actually has this through the (almost standardized) text-justify CSS property. It still doesn't do hyphenation, but Hyphenator.js ( http://code.google.com/p/hyphe…
-
comment
Comment #1975147
I have the same Chrome version, but I'm running Ubuntu. Perhaps it is a font issue. I will check it out later when I have access to a Mac. Thanks for reporting.
-
comment
Comment #1975107
You probably could get it working, but the implementation isn't (yet) capable of dealing with arbitrary HTML. It only expects paragraphs and images. This is only a matter of implem…
-
comment
Comment #1975087
I honestly hadn't thought about printing it out yet. I had a quick look, and I think the issues you are seeing can probably be fixed. My initial plan was to render PDFs server-side…
-
comment
Comment #1975043
Zooming is problematic, I haven't quite figured out a reliable way of fixing it yet. The problem is most apparent in Webkit based browsers, Firefox seems to handle it much better (…