From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.4 Received: from tb-ob20.topicbox.com (tb-ob20.topicbox.com [173.228.157.66]) by inbox.vuxu.org (Postfix) with ESMTP id 8491B267AC for ; Mon, 13 May 2024 09:27:23 +0200 (CEST) Received: from tb-mx1.topicbox.com (tb-mx1.nyi.icgroup.com [10.90.30.61]) by tb-ob20.topicbox.com (Postfix) with ESMTP id 3AF08308E6 for ; Mon, 13 May 2024 03:27:22 -0400 (EDT) (envelope-from bounce.mMd9b6263712929d39588a677a.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx1.topicbox.com (Postfix, from userid 1132) id D1CFE191AFDA; Mon, 13 May 2024 03:27:21 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=to:subject :message-id:in-reply-to:references:date:mime-version :content-type:content-transfer-encoding:list-help:list-id :list-post:list-subscribe:reply-to:from:list-unsubscribe; s= dkim-1; t=1715585241; x=1715671641; bh=Dj+hfEsgwJO8nSUHvF5wZyeYI BOuHkqDBO3pKW6f1es=; b=ksdITP3rc4wdzWFl+G94G/rljFSTNCogsykYIbGez dr8XKIgkpCTz+ycHOlIgZMkDWbSq2wQmL6oK/SrSh5mxJo4ynNz3V4GqpRQwqyOr jJ7PnrLBokOol+bBi/tqz18PONXSDjTUdhkzr/YmzMORRgOMKkB2G8a3S9C+V+n3 LI= To: 9fans <9fans@9fans.net> Subject: Re: [9fans] Balancing Progress and Accessibility in the Plan 9 Community. (Was: [9fans] Interoperating between 9legacy and 9front) Message-Id: <17155852360.0f2DbD6.18162@composer.9fans.topicbox.com> In-Reply-To: References: <7eb7bd48-c6c1-4649-8c7b-000df046fed1@posixcafe.org> <17155723490.63cF0a1BB.31755@composer.9fans.topicbox.com> Date: Mon, 13 May 2024 03:27:16 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=17155852361.6ABae.18162 Content-Transfer-Encoding: 7bit Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 39a77eb8-10fa-11ef-9e2e-876641decc0b Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UY2YxMjhmYTk1NWI4YWFmYy1NZDliNjI2MzcxMjkyOWQzOTU4OGE2?= =?UTF-8?B?NzdhPg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> From: "ibrahim via 9fans" <9fans@9fans.net> List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:Md9b6263712929d39588a677a:1:6ZJu5mSpi6jZuHn9UXvPYfb-FT69ukBhGq42t3SVqAM --17155852361.6ABae.18162 Date: Mon, 13 May 2024 03:27:16 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > For the ghostscript thing, and for the record (noting that, in this > area, I have put my code-money where my mouth is): >=20 > I too want to get rid of Ghostscript. The path adopted is the > TeX/METAFONT way with the following: >=20 > - A PostScript interpreter can be, functionnally, divided in two > parts: 1) a general purpose language allowing computation but aimed > for images and supposed, finally, to produce primitive graphics > directives (fixed results); 2) a rasterizer to produce a matricial > image; Converting pdf and ps to svg and rendering svg is the simpler approach. Dur= ing the first time I used this method I just added a linux computer to my n= etwork and made use of pdftocairo with svg export. The advantage of this me= thod is that the resulting container kept page information and also all gly= phs are embedded in the resulting svg file which than gets rendered by a ti= ny svg renderer.=20 Substituting ghostscript with a new interpreter wasn't worth the effort in = my case. By reading the pdf metadata you also can keep the outline and othe= r information.=20 ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tcf128fa955b8aafc-Md9b62= 63712929d39588a677a Delivery options: https://9fans.topicbox.com/groups/9fans/subscription --17155852361.6ABae.18162 Date: Mon, 13 May 2024 03:27:16 -0400 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
For the ghostscript = thing, and for the record (noting that, in this
area, I hav= e put my code-money where my mouth is):

I = too want to get rid of Ghostscript. The path adopted is the
TeX/METAFONT way with the following:

- A = PostScript interpreter can be, functionnally, divided in two
parts: 1) a general purpose language allowing computation but aimed
=
for images and supposed, finally, to produce primitive graphics<= br />
directives (fixed results); 2) a rasterizer to produce a ma= tricial
image;

Converting pdf and ps to svg and rendering svg is the simpler approach. D= uring the first time I used this method I just added a linux computer to my= network and made use of pdftocairo with svg export. The advantage of this = method is that the resulting container kept page information and also all g= lyphs are embedded in the resulting svg file which than gets rendered by a = tiny svg renderer.

Substituting ghostscri= pt with a new interpreter wasn't worth the effort in my case. By readin= g the pdf metadata you also can keep the outline and other information.


= --17155852361.6ABae.18162--