From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id A6A70BC6B for ; Sun, 28 Oct 2007 18:13:33 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAI9fJEfAXQInh2dsb2JhbACOYwIBCAopgSc X-IronPort-AV: E=Sophos;i="4.21,339,1188770400"; d="scan'208";a="3676262" Received: from concorde.inria.fr ([192.93.2.39]) by mail2-smtp-roc.national.inria.fr with ESMTP; 28 Oct 2007 18:13:33 +0100 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l9SHDU69003110 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Sun, 28 Oct 2007 18:13:33 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAI9fJEfAbSoIh2dsb2JhbACOYwIBCAopgSc X-IronPort-AV: E=Sophos;i="4.21,339,1188770400"; d="scan'208";a="5220514" Received: from einhorn.in-berlin.de ([192.109.42.8]) by mail3-smtp-sop.national.inria.fr with ESMTP; 28 Oct 2007 18:13:30 +0100 X-Envelope-From: oliver@first.in-berlin.de X-Envelope-To: Received: from einhorn.in-berlin.de (localhost [127.0.0.1]) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id l9SHDTUp019263 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 28 Oct 2007 18:13:29 +0100 Received: (from www-data@localhost) by einhorn.in-berlin.de (8.13.6/8.13.6/Submit) id l9SHDTNS019261 for caml-list@inria.fr; Sun, 28 Oct 2007 18:13:29 +0100 X-Authentication-Warning: einhorn.in-berlin.de: www-data set sender to oliver@first.in-berlin.de using -f Received: from dslb-088-073-123-167.pools.arcor-ip.net (dslb-088-073-123-167.pools.arcor-ip.net [88.73.123.167]) by webmail.in-berlin.de (IMP) with HTTP for ; Sun, 28 Oct 2007 18:13:29 +0100 Message-ID: <1193591609.4724c3394a824@webmail.in-berlin.de> Date: Sun, 28 Oct 2007 18:13:29 +0100 From: Oliver Bandel To: caml-list@inria.fr Subject: Re: [Caml-list] Basic typesetting References: <9f09a07a0710280714h6617fcc6s8647ef9ba077c30b@mail.gmail.com> In-Reply-To: <9f09a07a0710280714h6617fcc6s8647ef9ba077c30b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.6 X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 X-Miltered: at concorde with ID 4724C33A.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; bandel:01 in-berlin:01 matthieu:01 dubuget:01 matthieu:01 dubuget:01 pre-release:01 browsed:01 oliver:01 oliver:01 caml-list:01 postscript:01 objects:02 seems:03 size:95 Zitat von Matthieu Dubuget : > Hello, > > I just tried CamlPDF, which is very nice for what I want to do: > just export one simple page of text into pdf. [...] Oh, I didn't heard of CamlPDF before. If I found the correct page, then it is a pre-release. But there is no date on the page, so I don't know if it's up to date. > > For this kind of simple thing, I'd really like to get rid of the big, slow, > and difficult to install fop. fop? > > But in order to put text objects on page at the right place, I would > like to compute > their size. Is there any standard way to compute it? Postscript has a pathbbox-operator, which gives you back the bounding box of the current path; PDF seems not to have such an operator. At least I could not find an aequivalent thing in the last minutes, where I browsed through the PDF-Reference Manual. So, possibly one has to calculate the size by itself?! (So, if CamlPDF does not provide it, I see no solution to that problem right now.) Ciao, Oliver