From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Morgan Willcock Newsgroups: gmane.emacs.devel Subject: Re: No NEWS entry for doc-view-mupdf-use-svg (Emacs 30.0.91 feedback) Date: Sat, 21 Sep 2024 10:27:30 +0100 Message-ID: <87ldzlgxvh.fsf@ice9.digital> References: <87cyky43fb.fsf@ice9.digital> <86setu5f85.fsf@gnu.org> <87zfo22jy4.fsf@ice9.digital> <86bk0h5sx9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33062"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: tsdh@gnu.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Sep 21 11:28:35 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1srwPq-0008QF-IK for ged-emacs-devel@m.gmane-mx.org; Sat, 21 Sep 2024 11:28:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srwP3-0008BQ-GD; Sat, 21 Sep 2024 05:27:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1srwP0-0008Ac-QX for emacs-devel@gnu.org; Sat, 21 Sep 2024 05:27:42 -0400 Original-Received: from relay3-d.mail.gandi.net ([2001:4b98:dc4:8::223]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1srwOy-0007iK-Iy; Sat, 21 Sep 2024 05:27:42 -0400 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 2318C60006; Sat, 21 Sep 2024 09:27:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ice9.digital; s=gm1; t=1726910851; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=TMukQFF0BsCIyFBo+/ZWQeI8dmZf4aNX9qg1sJU5j8E=; b=QK6fOd21yRo+dTqFZIyeCDtvbskOgHNwcHlO9k60eQJ9JsHMAU6/wHf7lw8ucbW4zRGqne gKM9yy/KhRimWXLN+n17L58FDwIrspDKKckxCrjJFlWOQqT9CB9noa1DA9bS90hlqslq7n gjOy17mtfZ/ueHifm6gpJK+W4KcEkNme6o1BpXSV75S7MEqaaj8fW2keAG4I68V1BBcjZ9 1W5DAJ4hf3rTcD/Jw14yUc9XNu1LTj7O3fnuhNlPUgOddesJZJ9QTMc4eWWmbLI6Xm+VYZ 0wSCs4ZiwJTz9SIJhT+xVEnrZib/s0hrk+zXzV/DEVCTMMnzuEqoiXSjayBLkw== In-Reply-To: <86bk0h5sx9.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 21 Sep 2024 11:09:54 +0300") X-GND-Sasl: morgan@ice9.digital Received-SPF: pass client-ip=2001:4b98:dc4:8::223; envelope-from=morgan@ice9.digital; helo=relay3-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:323886 Archived-At: Eli Zaretskii writes: >> I think it is rendering the text and the background of the document in >> the same colour. > > In that case, you may wish to customize the new face > doc-view-svg-face. It seems to be the currently active theme which determines whether the the document is readable or not. If the SVG rendering is enabled (when available) by default, does this mean that it is the user's responsibility to set usable default colours? Or should the theme be setting usable default colours? > What do other applications, like a browser, show for the produced SVG > file? Is it possible that your version of mpdf produces bad SVG > images? I couldn't find any installed utility by that name, but using image-save in the DocView buffer suggests that the actual conversion to SVG doesn't have any problems. It seems to be purely an issue with how the SVG image is displayed in the buffer. -- Morgan Willcock