All of lore.kernel.org
 help / color / mirror / Atom feed
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
To: Till Kamppeter <till.kamppeter@gmail.com>
Cc: printing-architecture@lists.linux-foundation.org
Subject: Re: [Printing-architecture] Contributing braille embosser support
Date: Mon, 21 Dec 2015 01:12:46 +0100	[thread overview]
Message-ID: <20151221001246.GC4287@var.home> (raw)
In-Reply-To: <566D5181.6010103@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 443 bytes --]

Till Kamppeter, on Sun 13 Dec 2015 09:07:45 -0200, wrote:
> Now please download the BZR of cups-filters and check whether everything is
> OK. Thanks.

A second change which will be useful is as attached: for now imagemagick
introduces some header in the produced braille-formatted images.  We
will however probably want to remove it in the future.  The attached
patch makes cups-filters cope with both the header being present or not.

Samuel

[-- Attachment #2: patch2 --]
[-- Type: text/plain, Size: 550 bytes --]

--- filter/braille/filters/imagetobrf.in	2015-12-12 02:11:10 +0000
+++ filter/braille/filters/imagetobrf.in	2015-12-20 12:45:08 +0000
@@ -86,9 +86,9 @@ echo "INFO: Converting image" 1>&2
 if [ -z "$FILE" ]
 then
   printf "DEBUG: Calling $RENDER_CALL from stdin\n" 1>&2
-  $RENDER_CALL | tail -n +4
+  $RENDER_CALL | sed -e '/^Width: [0-9]*$/,/^$/d' 
 else
   printf "DEBUG: Calling $RENDER_CALL on '%s'\n" "$FILE" 1>&2
-  $RENDER_CALL < "$FILE" | tail -n +4
+  $RENDER_CALL < "$FILE" | sed -e '/^Width: [0-9]*$/,/^$/d' 
 fi
 echo "INFO: Ready" >&2


  parent reply	other threads:[~2015-12-21  0:12 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-09 10:27 [Printing-architecture] Contributing braille embosser support Samuel Thibault
2015-12-09 16:04 ` Michael Sweet
2015-12-10 20:29 ` Till Kamppeter
2015-12-10 20:45   ` Samuel Thibault
2015-12-10 21:02     ` Till Kamppeter
2015-12-10 21:31       ` Samuel Thibault
2015-12-11  0:19         ` Till Kamppeter
2015-12-11  0:31           ` Samuel Thibault
2015-12-11  1:17             ` Till Kamppeter
2015-12-12  2:28             ` Till Kamppeter
2015-12-12  3:53               ` Till Kamppeter
2015-12-12  8:36               ` Samuel Thibault
2015-12-12  9:50                 ` Samuel Thibault
2015-12-12 11:53                 ` Till Kamppeter
2015-12-12 12:04                   ` Till Kamppeter
2015-12-13  2:40                   ` Samuel Thibault
2015-12-13 11:07                     ` Till Kamppeter
2015-12-21  0:11                       ` Samuel Thibault
2015-12-21  0:12                       ` Samuel Thibault [this message]
2015-12-21 13:56                         ` Till Kamppeter
2015-12-13 18:59                     ` Samuel Thibault
2015-12-13 19:42                       ` Till Kamppeter
2015-12-12 15:00                 ` Till Kamppeter
2016-11-27 18:54 ` Samuel Thibault
2016-11-27 19:22   ` Till Kamppeter
2016-11-29 19:30   ` Samuel Thibault

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=20151221001246.GC4287@var.home \
    --to=samuel.thibault@ens-lyon.org \
    --cc=printing-architecture@lists.linux-foundation.org \
    --cc=till.kamppeter@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.