discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: Kristaps Dzonsons <kristaps@bsd.lv>
To: discuss@mdocml.bsd.lv
Subject: Re: Linking in mdoc(7)
Date: Mon, 09 Mar 2015 12:34:17 +0100	[thread overview]
Message-ID: <54FD8539.3090601@bsd.lv> (raw)
In-Reply-To: <20150309111207.GA26239@britannica.bec.de>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

>> term_ps.c is incredibly simple in this regard: it outputs word
>> by word.  This is why the PS and PDF it generates is so huge.
> 
> Trust me, you can do a lot worse. Even Microsoft's SaveAsPDF
> creates output character by character :)

It should be pretty trivial to compress page content, actually.
Basically, between the stream/endstream parts, everything can be
compressed.  I'm not sure if zlib supports PDF's compression schemes,
however; or if not, whether it's possible to inline a public domain
implementation.  If you can come up with one, I can add in the bits
for it.

Cf. http://acroeng.adobe.com/PDFReference/PDF%20Reference%201.1.pdf,
section 4.8, "filters".
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJU/YU5AAoJEMT2SUY9XBEScWIQAKBg7t1j75MY0K2RrHDo47cN
BHrFvx49IBJvg1TXMHChWlGhbBXc9uokhY3AIyfr3kdp+00KlCUgLskShzj5Bxja
iAblVWki9Rpomz5gfrMGqcTe8lgnxj0tZKk2C2Y0MQQpCHXxd7fjhdiu2kiJFSHr
ZcUsWeMzngH7zNRduWod44cfb1kXW80MH//IeZg/L0VT2kHs3OdcRfYLMwKEiyB8
w4/5D7nPwjBCRYfV2auQmN4sqNSN8pcayDfHLDfqXU8Yv4ww/BfgtaNmwcCYj0E2
UTMTgL4bxE4A9UnGZEa3rFjcCvbIdGaxnG1NdLswkI98XW3endE5iBVDnaAGfEXT
7JXDSyniM1oiNUYjLV4Dp+ZkiqcO6Ss5u7FsGXRPlg/50Rw7r4GC+dgr/y/jRXdZ
UVkPCnsUuOhmqfCZFtKriwWMQtP0UHOlUXJSa5gFS7zF6G2XCjA4zDZOKscm/61c
Aw2JKYMdEVIo8PBWdPQS2cZHJEMf3WuF7rd6vcjkX01LNKOG5FYLlU0V5rt6xp6c
ocWNU3SL3koTvZxI3A4diK8E2LQWQq0i9m2wKabkPM5Iy3qwu0ZJmA7/fEnrATDx
rOCWozS9vlYKOhNA2VLB3+GXhC7rIvVcUhxGQl17H9C2tfR1IneF1ivGSAia9TwY
5I0WAZHNrYfeS7p5Q6Re
=1q3J
-----END PGP SIGNATURE-----
--
 To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv

  reply	other threads:[~2015-03-09 11:34 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <sfid-H20150308-171308-+043.19-1@spamfilter.osbf.lua>
2015-03-08 16:12 ` Kristaps Dzonsons
2015-03-09  6:29   ` Thomas Klausner
2015-03-09  6:38     ` Anthony J. Bentley
2015-03-09  8:46       ` Kristaps Dzonsons
2015-03-09 11:12         ` Joerg Sonnenberger
2015-03-09 11:34           ` Kristaps Dzonsons [this message]
2015-03-09 11:09   ` Steffen Nurpmeso
2015-03-09 11:46     ` Ingo Schwarze
2015-03-09 12:25       ` Kristaps Dzonsons
2015-03-09 15:36         ` Kristaps Dzonsons
2015-03-10 16:30           ` Steffen Nurpmeso
2015-03-11  8:05             ` Kristaps Dzonsons
2015-03-11  8:15               ` Anthony J. Bentley
2015-03-11 10:07               ` Steffen Nurpmeso
2015-03-09 13:11       ` Steffen Nurpmeso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54FD8539.3090601@bsd.lv \
    --to=kristaps@bsd.lv \
    --cc=discuss@mdocml.bsd.lv \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).