tech-misc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Objections to converting bsd-family-tree to a dot file



El día lunes, diciembre 18, 2017 a las 02:38:44p. m. -0500, Mouse escribió:

> > My vote would be to ship it in base as SVG and PDF, and forget the
> > text version.  This is 2017 and everyone has a PDF reader of some
> > kind in their UI somewhere.
> 
> Yes, and I love you too.
> 
> I'm just glad I have copies of the text file while it still was a text
> file.
> 
> /~\ The ASCII				  Mouse
> \ / Ribbon Campaign
>  X  Against HTML		mouse%rodents-montreal.org@localhost
> / \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B

I'd prefer to keep it as text (or even ASCII) because we will not gain much from
converting it to some other format. Who wants to have got PDF or JPEG
can produce them with a CUPS' pdf backend as:

$ lpr -Ppdf bsd-family-tree
$ file /home/guru/cups-pdf/bsd-family-tree.pdf
/home/guru/cups-pdf/bsd-family-tree.pdf: PDF document, version 1.4

and produce from there the 12 pages as JPEG with:

$ convert /home/guru/cups-pdf/bsd-family-tree.pdf /tmp/bsd-family-tree.jpg
$ ls -ltr /tmp/bsd-family-tree*
-rw-r--r--  1 guru  wheel   77005 20 dic.  09:37 /tmp/bsd-family-tree-0.jpg
-rw-r--r--  1 guru  wheel   85724 20 dic.  09:37 /tmp/bsd-family-tree-1.jpg
-rw-r--r--  1 guru  wheel   82309 20 dic.  09:37 /tmp/bsd-family-tree-2.jpg
-rw-r--r--  1 guru  wheel   79413 20 dic.  09:37 /tmp/bsd-family-tree-3.jpg
-rw-r--r--  1 guru  wheel   70221 20 dic.  09:37 /tmp/bsd-family-tree-4.jpg
-rw-r--r--  1 guru  wheel  162568 20 dic.  09:37 /tmp/bsd-family-tree-5.jpg
-rw-r--r--  1 guru  wheel  155729 20 dic.  09:37 /tmp/bsd-family-tree-6.jpg
-rw-r--r--  1 guru  wheel  167975 20 dic.  09:37 /tmp/bsd-family-tree-7.jpg
-rw-r--r--  1 guru  wheel  162618 20 dic.  09:37 /tmp/bsd-family-tree-8.jpg
-rw-r--r--  1 guru  wheel  153778 20 dic.  09:37 /tmp/bsd-family-tree-9.jpg
-rw-r--r--  1 guru  wheel  178014 20 dic.  09:37 /tmp/bsd-family-tree-10.jpg
-rw-r--r--  1 guru  wheel    9893 20 dic.  09:37 /tmp/bsd-family-tree-11.jpg

Btw: The file is not ASCII, but UTF-8 due to a German Umlaut in some
name:

$ iconv -f utf-8 -t ascii bsd-family-tree  > /tmp/i
iconv: warning: invalid characters: 1
$ diff bsd-family-tree /tmp/i
739c739
< Andreas Klemm, Lars Köller. If you're going to San Francisco ...
---
> Andreas Klemm, Lars K?ller. If you're going to San Francisco ...

	matthias
-- 
Matthias Apitz, ✉ guru%unixarea.de@localhost, ⌂ http://www.unixarea.de/  📱 +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index