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.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id B0F922D968 for ; Wed, 28 Aug 2024 11:06:37 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 7037D48525D for ; Wed, 28 Aug 2024 11:03:34 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=freedom.nl header.b="E0hGSCZ6"; dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=freedom.nl header.b="WIDhSsSJ" 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 zmH2aKpt7qlK for ; Wed, 28 Aug 2024 11:03:34 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 3D56D4853CB for ; Wed, 28 Aug 2024 11:02:26 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id EA455485206 for ; Wed, 28 Aug 2024 11:01:52 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl 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 FpLlm0I-J3l0 for ; Wed, 28 Aug 2024 11:01:52 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=185.233.34.18; helo=outbound.soverin.net; envelope-from=j.hagen@freedom.nl; receiver= 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 6240F485084 for ; Wed, 28 Aug 2024 11:01:52 +0200 (CEST) Received: from smtp.freedom.nl (unknown [10.10.4.107]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 4Wtz1X1hdxz6f for ; Wed, 28 Aug 2024 09:01:52 +0000 (UTC) Received: from smtp.freedom.nl (smtp.freedom.nl [10.10.4.107]) by freedom.nl (Postfix) with ESMTPSA id 4Wtz1V62y4z1S for ; Wed, 28 Aug 2024 09:01:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freedom.nl; s=default; t=1724835712; bh=Y69xjoAPcXrFKGq3BE3EAC6/MbQuYoQV89IHisPfR80=; h=Date:Subject:To:References:From:In-Reply-To:From; b=E0hGSCZ6AccsBqqj2R5zKFPr7fNlP30IGesHde5Pn8Y9fk/13JfZaNurnRfD0wqny lqPmlVasD++KER7rVSVgvvwoBFTi6ISLPb8GFxFtOzc0VSdzkXjewe2g2Vjr4XfvVo 3RIptWHhbVB/KxSBwYEfNZfLos9KfYmiyVVdsWjc= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freedom.nl; s=soverin1; t=1724835710; h=from:from: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=cFsJjaUI5JMPOvradtM5JlflEf4e9YOwjCreVosn3rI=; b=WIDhSsSJTIuF/IXR/KLNGo79/WVLfoWoFHMWwqWkzfqwO12wqGp/oxnabHn9AhAOFK+J4J 6y53zCWM3/7nht9wmcFXlPCQ0vQHA2wh9Vt8k00aRIbOYg90HHo6H5qHmdsYeZNu4YbM04 5XdRXNwe0HxkwvSTZ6eG20dr6yh2kf+aAnhn838UDS/CJX3CgKAj1iTocC1wBPqY0wukHx QzvqWDkd5CiqZx2zO+8GR4xjoMAoYDIr8DCjHXIFitFeTCgHLfguFZA/jZpLKNeVf41N+K m4BYtNE2HYRx+UMyHpwFNuWnuYzeZHzmBViA4bVbUifiJnsAy84blGMPAtNkcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freedom.nl; s=default; t=1724835710; 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=cFsJjaUI5JMPOvradtM5JlflEf4e9YOwjCreVosn3rI=; b=CRlcC+WS/HxEZKFj3nBOCkdYxxlvY7XI2GcghUnPJ+PxLbV+nIHeLQfGt9JGJtoEObT2ms R9dONhrTs6t3XIB+0OHmHEx+5+Tca5BFDlEfiIiLIsGrX4rF+5MZaqZiL2W9IUey5vwQa9 mleyskb/2KPQEeDPPx/lV08gKAMbkxo= ARC-Authentication-Results: i=1; smtp.freedom.nl; auth=pass smtp.mailfrom=j.hagen@freedom.nl ARC-Seal: i=1; s=default; d=freedom.nl; t=1724835710; a=rsa-sha256; cv=none; b=YAxfkNCs56n1Ztiko4pvfBQ4u7+r8M5ufNv7SMbwTuWM4CX+Hyglz/9dFHPGbLhlC2OKgz YniIbqYjioeLGUHpQNN6u/mL388DqGI0LLhe1pI1+WYYranFIaaeR1KuFQiOxEavux7Fy/ +nPHHDrYmSb1QTMmL/RmTHcjZ3ddXuM= Message-ID: Date: Wed, 28 Aug 2024 11:01:49 +0200 MIME-Version: 1.0 Content-Language: en-US To: ntg-context@ntg.nl References: <172483230170.3284622.13422925533617718090@cgl.ntg.nl> X-Soverin-Authenticated: true In-Reply-To: <172483230170.3284622.13422925533617718090@cgl.ntg.nl> X-Spampanel-Class: ham Message-ID-Hash: YMNQPYXROBGZ3YWWZS66GN5QPCSDXKCU X-Message-ID-Hash: YMNQPYXROBGZ3YWWZS66GN5QPCSDXKCU 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.9 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: Is there a way to apply withpattern to text, like fillcolor in lmt_outline[]. List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Hans Hagen via ntg-context Cc: Hans Hagen Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit On 8/28/2024 10:05 AM, ai2472206007@yeah.net wrote: > hi , > Is there a way to apply withpattern to text, like fillcolor in lmt_outline[]. > > what I envisaged: > https://imgse.com/i/pAAkfjf > > I've found someone who has asked a similar question, > just a combination of the two functions : lmt_outline[] and lmt_shade[] in that question. > > question from > https://mailman.ntg.nl/archives/list/ntg-context@ntg.nl/thread/D5GBGF3RXN75UGZVHX6LDY7LXGGZKMHR/#7JS33W44JDJM355TDDPY5L4R7FJQ6QLZ > > However, this example didn't work successfully on the Mac, > it just showed a background color block. \starttext \startMPpage path tt ; tt := lmt_outline [ kind = "outline", text = "\definedfont[name:texgyrepagellabold*default]foo f o o", ] xsized 12cm ; % fill tt % withshademethod "linear" % withshadedirection down % withshadecolors (red, blue) ; draw tt withpattern image (fill fullcircle scaled 5mm withcolor "darkgreen" ;) withpatternscale (1/200,1/40) ; \stopMPpage \stoptext ----------------------------------------------------------------- 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://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________