From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52719 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: [OT] Edit PDF manually Date: Mon, 7 Sep 2009 19:17:58 +0200 Message-ID: References: <387332A8-3062-4CF3-A318-F2E327345BD1@mpq.mpg.de> <52DF152A-3938-4965-901F-5AB0F01B4CB9@mpq.mpg.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1780641648==" X-Trace: ger.gmane.org 1252343902 3872 80.91.229.12 (7 Sep 2009 17:18:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Sep 2009 17:18:22 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 07 19:18:14 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mkhr3-0002mL-GJ for gctc-ntg-context-518@m.gmane.org; Mon, 07 Sep 2009 19:18:13 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3929AC9ABB; Mon, 7 Sep 2009 19:18:12 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 8uVfO4T8sTXb; Mon, 7 Sep 2009 19:18:07 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 91327C9A81; Mon, 7 Sep 2009 19:18:07 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 888E2C9A81 for ; Mon, 7 Sep 2009 19:18:05 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id icEkhpmIKQM2 for ; Mon, 7 Sep 2009 19:18:00 +0200 (CEST) Original-Received: from mail-bw0-f207.google.com (mail-bw0-f207.google.com [209.85.218.207]) by balder.ntg.nl (Postfix) with ESMTP id B12A0C9A7C for ; Mon, 7 Sep 2009 19:17:59 +0200 (CEST) Original-Received: by bwz3 with SMTP id 3so2155663bwz.2 for ; Mon, 07 Sep 2009 10:17:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=2Rl2t944WOlZwXAzoq4C9695qv6aQnAcY44sWvkBuUc=; b=JKJBj6PXY4vZ8omP/Kp1kLL7sD97TXZB12V1XpjfloqPFiEjgueAkN8XsY0mi7Qz58 MAM/FmxCtCoJdyuOY0Al6AeRBlFgss4q5sV9SMowMcUjm9IP310AFoutPtVPVppG4em5 T9RN8diy7GIrZ8G17NKGBjdJlGMK7vBlHr1y8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Wfuw80yaAGpW/JUK+x9g6hbSfv5LYqHgXMB/PAX7AHTLVqp6kSXgnsCn0V8oypqzj0 8l6IiwFjaLS+D6qlUNibGm/UcsRU7M/izvpO6AmrlEED9x0V9Adp9ync7xkGjXL7NIDz tyFHH/+pd+eULJ+K9/fKF5Bz8xOW+Qia2FjZs= Original-Received: by 10.204.7.198 with SMTP id e6mr12344505bke.148.1252343878890; Mon, 07 Sep 2009 10:17:58 -0700 (PDT) In-Reply-To: <52DF152A-3938-4965-901F-5AB0F01B4CB9@mpq.mpg.de> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:52719 Archived-At: --===============1780641648== Content-Type: multipart/alternative; boundary=0015174be25409b5c604730008d5 --0015174be25409b5c604730008d5 Content-Type: text/plain; charset=UTF-8 I'm sure that hartmut has done a presentation sometimes ago f, could be http://www.matexhu.org/eurotex2006/lectures/pdftex/hartmut-talk.pdf > > > pypdf is a python module at lowlevel. >> http://pybrary.net/pyPdf/ >> > > This looks very interesting! > > > As exercise, you can try to minimic pdffonts in python with pypdf >> (pdfs with ttf,otf,type1 etc ) >> > > I'm afraid, I don't understand :-( > > Under linux, xpdf comes with pdffonts, a cmd line tools that extracts fonts information from a pdf. You can try to mimic it with pyPdf, so your knowledge can augment . -- luigi --0015174be25409b5c604730008d5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I'm sure that hartmut has done a presen= tation sometimes ago f, could be
http://www.matexhu.org/eurotex200= 6/lectures/pdftex/hartmut-talk.pdf
=C2=A0


pypdf is a python module at lowlevel.
http://pybrary.net/= pyPdf/

This looks very interesting!



As exercise, you can try to minimic pdffonts in python with pypdf
(pdfs with ttf,otf,type1 etc )

I'm afraid, I don't understand :-(

Under linux, xpdf comes with pdffonts, a cmd line too= ls that extracts fonts information from a pdf.
You can try to mimic it w= ith pyPdf, so your knowledge=C2=A0 can augment .



-- =
luigi

--0015174be25409b5c604730008d5-- --===============1780641648== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1780641648==--