From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,NO_RECEIVED,NO_RELAYS,T_SCC_BODY_TEXT_LINE, URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/118055 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hans Hagen via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: lpdf.registerfontmethod Date: Fri, 7 Jul 2023 14:05:39 +0200 Message-ID: <8473007b-13c3-6c58-ab3f-00cd66e9a32c@freedom.nl> References: <31d1664581869deb44737ccc701cd6af601bb1f2.camel@telus.net> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14014"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Hans Hagen To: mailing list for ConTeXt users Archived-At: Original-X-From: ntg-context-bounces+gctc-ntg-context-518=m.gmane-mx.org@ntg.nl Fri Jul 07 14:07:13 2023 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from cgl.ntg.nl ([5.39.185.202]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qHkEz-0003Ur-6R for gctc-ntg-context-518@m.gmane-mx.org; Fri, 07 Jul 2023 14:07:13 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 07AC7482772 for ; Fri, 7 Jul 2023 14:06:28 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Original-Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JTrXk2MbKATe for ; Fri, 7 Jul 2023 14:06:27 +0200 (CEST) Original-Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id D1590482801 for ; Fri, 7 Jul 2023 14:05:53 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 41B6F482205 for ; Fri, 7 Jul 2023 14:05:41 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Original-Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qIwxuL5OSqX4 for ; Fri, 7 Jul 2023 14:05:40 +0200 (CEST) Original-Received: from outbound.soverin.net (outbound.soverin.net [185.233.34.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id DAEFD481FF5 for ; Fri, 7 Jul 2023 14:05:40 +0200 (CEST) Original-Received: from smtp.freedom.nl (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 4QyBtX5m8Hz6t for ; Fri, 7 Jul 2023 12:05:40 +0000 (UTC) Original-Received: from smtp.freedom.nl (smtp.freedom.nl [10.10.4.108]) by freedom.nl (Postfix) with ESMTPSA id 4QyBtX1dDCz4r for ; Fri, 7 Jul 2023 12:05:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freedom.nl; s=default; t=1688731540; bh=YME8Yi+x2El+G1GNHhGWf+Cz0i/5WJ+X96D2YH4k1E0=; h=Date:Subject:To:References:From:In-Reply-To:From; b=UTIrK7jszGmWuvxLWEFSwiab675Nhaqus7A9t5fVEhNd65gyXzYy293AVFvbhzWT1 PPu8eZUXWlKehIZ7AVKaSvj2izXechWdmBKTvfk1xMspFEMInldG+SE1YNfzqEt6Eo 7NpaCvfrxj8fupNSsJQovgug/OJMlXw/CynmvZyo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freedom.nl; s=default; t=1688731540; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=StMKat6j22LTiKz5d4jmoauVoFxqmBzVjKQWoaGX4xo=; b=vzdMlGVjHJ3PrM/O8tAeMQyzPqs1AyievglgOgI+ZrbEHejNqk0UlMX4x+z8Gw2a6Ab6oI G9tmwiqbEWd/EgXSKHeM6C4Vzg+ijokIzBsqm7uJoQ4lgXHySkN5rUluiNDeBwKOlDZkj+ Mmx3L/UcGZhLk+T2n42exEZOjIJvTVA= ARC-Seal: i=1; s=default; d=freedom.nl; t=1688731540; a=rsa-sha256; cv=none; b=RsNXqKT6Hqq2nGW4H6nsj6/xWcXmQlm+bj5u1vQ3JU6qW7Lf08pbV5AlXfXpIX0nfHaKdK wh/mkLMlcFNJw3KlgpAChcsNwgiznh1SxWhvTb8v7uHRNa4lyVi5f/8IFl6afOOH7KUZGc UtCdXfQyeoglmyYJTWFoKkvMDabJv/s= ARC-Authentication-Results: i=1; smtp.freedom.nl; auth=pass smtp.mailfrom=j.hagen@freedom.nl Content-Language: en-US X-Soverin-Authenticated: true In-Reply-To: <31d1664581869deb44737ccc701cd6af601bb1f2.camel@telus.net> X-CMAE-Score: 0 X-CMAE-Analysis: v=2.4 cv=LJ6gAra9 c=1 sm=1 tr=0 ts=64a7ff94 a=yaeGIPywLLJyAsH1IMTGEA==:117 a=yaeGIPywLLJyAsH1IMTGEA==:17 a=IkcTkHD0fZMA:10 a=YEMqx4UAAAAA:8 a=Uows8UApAAAA:8 a=_b758372Y4K-5IYtu_IA:9 a=QEXdDO2ut3YA:10 a=V0662LiR8DSfwiDagK97:22 a=oX0v64vK4IwbpfTCMRm2:22 X-Cloudmark-Reporter: TzTHpTSReRd0bFwC4Z9fAWFDcU0= Message-ID-Hash: AUVHNZWLQ5HFDLLEEKDCGXB3R5F2MF55 X-Message-ID-Hash: AUVHNZWLQ5HFDLLEEKDCGXB3R5F2MF55 X-MailFrom: j.hagen@freedom.nl X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: mailing list for ConTeXt users List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Xref: news.gmane.io gmane.comp.tex.context:118055 Archived-At: On 7/7/2023 4:51 AM, Max Chernoff wrote: > Hi Hans, > > In lpdf-emb.lmt, there's a commented-out definition of > lpdf.registerfontmethod that I'd like to use. I've uncommented this in > my installation and it's worked pretty well for me, so can you please > uncomment/enable this by default in the distribution? I'll check it but no time today. btw ... as you like low level hacking ... pdftex has a mechanism called pgc (pdf glyph containers) and these are used when no pk font is found (which also means: no map entry) \pdffont ... = \pdfscale 1000 \pdfglyph 1 100 0 0 100 100 ... pdf code ... \pdfendglyph \pdfendfont of course one needs a matching tfm file. I searched my disk but it looks like i removed all the test files of those times. It was some playground for Thanh and me in the good old pdftex dev days but the outlines from mp at that time were not good enough to use in these containers. (It was when the mp to pdf conmverter showed up in context mkii.) One or these now obsolete sub projects; it was kind of fun anyway. Other experiments, like with saving positions (which originally was a context feature that involved betweeen run dvi parsing with dvipos) did make it into a stable feature eventually (read: documented). The code is still there (in write3.c) but I bet that there is no documentation. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________