From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.devel Subject: Re: Rethinking the design of xwidgets Date: Tue, 13 Oct 2020 19:42:05 +0100 Message-ID: <87eem26k8y.fsf@tcd.ie> References: <864kmzupp0.fsf@akirakyle.com> <835z7e2ouj.fsf@gnu.org> <86v9fet5sg.fsf@akirakyle.com> <83imbe1040.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="985"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Akira Kyle , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 13 20:43:56 2020 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 1kSPH9-000AdC-IG for ged-emacs-devel@m.gmane-mx.org; Tue, 13 Oct 2020 20:43:55 +0200 Original-Received: from localhost ([::1]:44104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kSPH6-00020x-VK for ged-emacs-devel@m.gmane-mx.org; Tue, 13 Oct 2020 14:43:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55210) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kSPFU-0001RH-Te for emacs-devel@gnu.org; Tue, 13 Oct 2020 14:42:12 -0400 Original-Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:34112) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kSPFS-0002RM-0l for emacs-devel@gnu.org; Tue, 13 Oct 2020 14:42:12 -0400 Original-Received: by mail-wr1-x431.google.com with SMTP id i1so574434wro.1 for ; Tue, 13 Oct 2020 11:42:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=gM0/dmVU5HtHT8i0/WwYrIMip5W2BvvqQuwJ2IyyZUQ=; b=ZwYwRLERBZXnbuTDVYbRM7DW3wQh9Xi3RbpubmV8jThdyzw/sEhiStvpJgyQzb+hL0 8bnjMERxTn3WF/8LIs1NGB6qmHZpS/6tJEaeilGERFYOU2xJBfUvys9fMoxUH2Uc5VQg rEGEsZQS+b908a5qdZoGAL3dkL5nbASMWbsaxVcnnU8Dv9wWDh3F7jwv2nfC5UPHMI7n x5YxWc+JMhd5ZhvCfzvGNqqxCGea0Cgwo/00kJVRvsEBh6AxaRfsOoBAWLzg/XBSv+5+ tgNKHT4NpWZflMRn1cxpoVmrF+9vF4rP29sAgSxs/Prp0uSrCDslf+uqv7W00PZdAF7J hBxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=gM0/dmVU5HtHT8i0/WwYrIMip5W2BvvqQuwJ2IyyZUQ=; b=pcO8uyeNJNZ6OuNNNm3AaLzWhX9T6yoBkKOq1lqcPWn9ZxTTSJm66fhmSqjVd+JPrP VdZKN73SPT3kpPY+A/2iwNNhKye8Q34FGpp/75rcegJsItRlUEg1u+njjqoUSBsxo7ZH bt5gULfHJAGRsGY06cN/ZD+7Aa/IA37SUwSedpnX6W4B4iIna5JZkPpTVmM9kEd6XOJy ie2LYMIG8abhLREl4/wEUh28rQl6zZUhbmWYoh3I7wx1mAoFnDMB/eA7H97InW0/U9dA GIH6gct8SN9xJgq5XzY7aJUnupmewYD+qzGDO1MfhtDde5hVL5bLQ9/TMo2qnAh8N/TH ajMg== X-Gm-Message-State: AOAM5329mqxesFf9j1+omgXiDwWPHJOGErdLx2PMuQ/Ry12s3HrFypm4 uFoKX+ZvgWpfP9pa5UCw9cUcvg== X-Google-Smtp-Source: ABdhPJzrZe+UPj8/Auga1tCOVpXobX+JjaqAh05tYLlVZQA8q8uMSUQ/57vgn+t6EpKP2V7NfMlWlw== X-Received: by 2002:adf:e9c6:: with SMTP id l6mr1087336wrn.257.1602614526706; Tue, 13 Oct 2020 11:42:06 -0700 (PDT) Original-Received: from localhost ([2a02:8084:20e2:c380:92bd:1bfd:38fc:fae2]) by smtp.gmail.com with ESMTPSA id p4sm559651wrf.67.2020.10.13.11.42.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Oct 2020 11:42:06 -0700 (PDT) In-Reply-To: <83imbe1040.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 13 Oct 2020 20:55:59 +0300") Received-SPF: none client-ip=2a00:1450:4864:20::431; envelope-from=contovob@tcd.ie; helo=mail-wr1-x431.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:257553 Archived-At: Eli Zaretskii writes: >> From: Akira Kyle >> Cc: emacs-devel@gnu.org >> Date: Tue, 13 Oct 2020 11:05:51 -0600 >> >> Another use case I had in mind for my proposed improved xwidgets >> is better pdf rendering. I use pdf-tools constantly and it's one >> of the best pdf viewers out there (not just because it's in >> emacs). I'll sometimes even use it to give presentations so I >> never have to leave Emacs. However it's design inherently limits >> its rendering performance as it must rasterize each pdf page in a >> separate process then pipe that data to emacs to display as an >> image. > > This use case doesn't necessarily call for the same solution, but I > could think of a differently designed pdf-viewer that didn't need to > rasterize each page separately. Again, the mouse-sensitivity feature > of our image display could perhaps be used for something like that. I > reckon the hardest problem is to find an engine, be it a library or a > program, that could convert PDF into something Emacs can display. Not sure if this fits the bill, but I was hoping to eventually look into whether Emacs+Cairo could render PDFs using the GLib API of the GPLed Poppler library. -- Basil