Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bramstein
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
31.
▲
by
bramstein
16y ago
Nice, I would be particularly interested in the conversion from PDF to HTML, and how you handle the word-spacing and line breaking. I've been doing some work on rendering TeX-like data in HTML ( http://www.bramstein.com/projects/typeset/ )
32.
▲
by
bramstein
17y ago
Can anyone recommend a good online accounting application for small businesses in Europe? Most of the ones that are mentioned here are quite USA centric. Tax requirements in Europe are a bit different, which I guess also presents a problem
33.
▲
by
bramstein
17y ago
From what I read, the latter. Like you said, overdoing it quickly makes a text look bad, and it also ruins the (presumably) carefully created kerning tables that are supplied by the font. I assume you have read Hàn Thế Thành's paper on micr
34.
▲
by
bramstein
17y ago
I tried it in Photoshop which since CS2 (or so) has an implementation of the Knuth & Plass algorithm. I found it quite distracting myself. Granted, I was on the lookout for text jumping around and had hyphenation disabled.
35.
▲
by
bramstein
17y ago
There is also a paper that claims linear time for formatting paragraphs using dynamic programming: http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.47.3... I haven't really wrapped my head around the paper yet, but I think it only
36.
▲
by
bramstein
17y ago
Hyphenation is definitively on my to-do list. As you said, it will improve the output of the canvas tremendously. The canvas is just a way to show the output of the line breaking algorithm. Earlier I had an example on my website of a dynami
37.
▲
by
bramstein
17y ago
I use the new Canvas Text API, which---I guess---isn't supported by the iPhone. It would be fairly straightforward to make it use the old text API. I chose canvas as an output format for this demonstration, the algorithm itself knows nothin
38.
▲
by
bramstein
17y ago
Not at the moment. Intra character spacing or Microtypography is a bit of a controversial subject among some typographers. Currently I'm leaning towards not doing it. Regardless of that, it would also make the implementation much more compl
39.
▲
TeX line breaking algorithm in JavaScript (and HTML5 Canvas)
(bramstein.com)
86 points
by
bramstein
17y ago
|
56 comments
40.
▲
Typograph – Scale & Rhythm
(lamb.cc)
32 points
by
bramstein
17y ago
|
7 comments
41.
▲
by
bramstein
17y ago
Regardless of hyphenation browsers could also do a much better job at implementing line breaking (affecting ragged left, right, centered, and justified text.) I've done some experiments with implementing the Knuth & Plass line breaking