<feed xmlns='http://www.w3.org/2005/Atom'>
<title>halibut/in_pf.c, branch master</title>
<subtitle>My halibut tree</subtitle>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/'/>
<entry>
<title>Revamp of the Halibut error handling mechanism.</title>
<updated>2012-08-29T18:13:11+00:00</updated>
<author>
<name>Simon Tatham</name>
<email>anakin@pobox.com</email>
</author>
<published>2012-08-29T18:13:11+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=1489dc15967970576d08f3f2b22c6e1c939bcbcf'/>
<id>1489dc15967970576d08f3f2b22c6e1c939bcbcf</id>
<content type='text'>
I'm not quite sure why I ever thought it was a good idea to have a
central variadic error() function taking an integer error code
followed by some list of arguments that depend on that code. It now
seems obvious to me that it's a much more sensible idea to have a
separate function per error, so that we can check at compile time that
the arguments to each error call are of the right number and type! So
I've done that instead.

A side effect is that the errors are no longer formatted into a
fixed-size buffer before going to stderr, so I can remove all the
%.200s precautions in the format strings.

[originally from svn r9639]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I'm not quite sure why I ever thought it was a good idea to have a
central variadic error() function taking an integer error code
followed by some list of arguments that depend on that code. It now
seems obvious to me that it's a much more sensible idea to have a
separate function per error, so that we can check at compile time that
the arguments to each error call are of the right number and type! So
I've done that instead.

A side effect is that the errors are no longer formatted into a
fixed-size buffer before going to stderr, so I can remove all the
%.200s precautions in the format strings.

[originally from svn r9639]
</pre>
</div>
</content>
</entry>
<entry>
<title>When loading a Type 1 font, remember to terminate the linked list we load</title>
<updated>2007-02-03T14:05:32+00:00</updated>
<author>
<name>Ben Harris</name>
<email>bjh21@bjh21.me.uk</email>
</author>
<published>2007-02-03T14:05:32+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=1e92eef2b89afc4330652db964daf20e0efa84d3'/>
<id>1e92eef2b89afc4330652db964daf20e0efa84d3</id>
<content type='text'>
it into.

[originally from svn r7199]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
it into.

[originally from svn r7199]
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for using TrueType fonts, including embedding in PostScript but</title>
<updated>2007-02-03T14:02:21+00:00</updated>
<author>
<name>Ben Harris</name>
<email>bjh21@bjh21.me.uk</email>
</author>
<published>2007-02-03T14:02:21+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=62be4468c8d814e5f66e5c2c7dc21a865bd91be3'/>
<id>62be4468c8d814e5f66e5c2c7dc21a865bd91be3</id>
<content type='text'>
not yet in PDF.  There's a lot of cleaning up to be done, especially in the
area of error, but I think it would be better committed gradually.

[originally from svn r7198]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
not yet in PDF.  There's a lot of cleaning up to be done, especially in the
area of error, but I think it would be better committed gradually.

[originally from svn r7198]
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for PFB files.  This seems to have caused me to completely</title>
<updated>2007-01-27T20:47:41+00:00</updated>
<author>
<name>Ben Harris</name>
<email>bjh21@bjh21.me.uk</email>
</author>
<published>2007-01-27T20:47:41+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=72d22e8a1a1b47635e1b8da49ae703bde01228f2'/>
<id>72d22e8a1a1b47635e1b8da49ae703bde01228f2</id>
<content type='text'>
rewrite the Type 1 font support, and I'm sure the result is more complex
than it needs to be, but it seems to work correctly, so I shouldn't
complain.

[originally from svn r7175]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
rewrite the Type 1 font support, and I'm sure the result is more complex
than it needs to be, but it seems to work correctly, so I shouldn't
complain.

[originally from svn r7175]
</pre>
</div>
</content>
</entry>
<entry>
<title>Correct embedding of Type 1 fonts in PDF.  Error cases (e.g. invalid Type 1</title>
<updated>2006-12-09T14:44:47+00:00</updated>
<author>
<name>Ben Harris</name>
<email>bjh21@bjh21.me.uk</email>
</author>
<published>2006-12-09T14:44:47+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=76b522bc5aac82f7d1c0e3433f1620a7a192bdad'/>
<id>76b522bc5aac82f7d1c0e3433f1620a7a192bdad</id>
<content type='text'>
fonts) may not be well handled, and may emit invalid PDF.

[originally from svn r6974]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fonts) may not be well handled, and may emit invalid PDF.

[originally from svn r6974]
</pre>
</div>
</content>
</entry>
<entry>
<title>Fairly ropey font-embedding support.  In particular, the PDF output is</title>
<updated>2006-05-14T13:42:48+00:00</updated>
<author>
<name>Ben Harris</name>
<email>bjh21@bjh21.me.uk</email>
</author>
<published>2006-05-14T13:42:48+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/halibut/commit/?id=e06921ba9541759101336126a6af96ab66b9ee2d'/>
<id>e06921ba9541759101336126a6af96ab66b9ee2d</id>
<content type='text'>
technically incorrect, though it works perfectly well with xpdf.  To do
it properly requires actually parsing the unencrypted part of a Type 1
font, which will be a bit tedious in C.

[originally from svn r6685]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
technically incorrect, though it works perfectly well with xpdf.  To do
it properly requires actually parsing the unencrypted part of a Type 1
font, which will be a bit tedious in C.

[originally from svn r6685]
</pre>
</div>
</content>
</entry>
</feed>
