From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Anand Tamariya Newsgroups: gmane.emacs.devel Subject: Re: SVG hack for display engine Date: Mon, 22 Nov 2021 08:18:31 +0530 Message-ID: References: <83k0h818zw.fsf@gnu.org> <83mtm2zyf6.fsf@gnu.org> <83pmqxyj3j.fsf@gnu.org> <83czmxyaio.fsf@gnu.org> <837dd5y0qg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000d407f305d157a92b" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19839"; mail-complaints-to="usenet@ciao.gmane.io" To: Alan Third , Anand Tamariya , Eli Zaretskii , Alexander Adolf , Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 22 03:50:07 2021 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 1mozPD-0004xN-3p for ged-emacs-devel@m.gmane-mx.org; Mon, 22 Nov 2021 03:50:07 +0100 Original-Received: from localhost ([::1]:37882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mozPC-0003ni-3K for ged-emacs-devel@m.gmane-mx.org; Sun, 21 Nov 2021 21:50:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46024) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mozOC-0002cp-4Y for emacs-devel@gnu.org; Sun, 21 Nov 2021 21:49:05 -0500 Original-Received: from [2607:f8b0:4864:20::d30] (port=34393 helo=mail-io1-xd30.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mozNu-0005p3-WF; Sun, 21 Nov 2021 21:49:01 -0500 Original-Received: by mail-io1-xd30.google.com with SMTP id w22so21429852ioa.1; Sun, 21 Nov 2021 18:48:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=1XEENALPwTmoS7cv6i2q9oK9p36C/cj0l2RX7VIkTzs=; b=d5FX1eFs7u5Hhebif5jRfYbHjd+5is1rrIaz2Nkuy3Yd5CeDIK2IPOE7HZszfPgPGL mKUzSIP66nGgi3m0Sa2fRr6Dr4tVHYMTwRbQlc4Z9IJn8qkhwmS8QgLLbUhSYWf3Gqnb e5hjP/uKsqlf3mohEp8dVOCp8uRWsU5bsiCyNcIxmBimip0V9lGTBuiIced3iMHEvXgR EMMDXHAZKEswR9SqVmG+gTzx8cWzeACkHbFsjoliRJL6yqYs+sKrfOk6PtFJWLCQH4oR cOjEa2oFB2fkNSVPB3ldSOSrBJfOxr+h7piFBxSfEnV5HrmNmwxVnGfWk+DPzeIrBF0y tlTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=1XEENALPwTmoS7cv6i2q9oK9p36C/cj0l2RX7VIkTzs=; b=4nysEQVMyvfyDK5V00uDoeLXN4QG8iRV8sO/7QOl0hznLMMS9UW3hI78vP+1bnkpsT 7TAn3ma+IDke04NWkFEBwdRHrMrSjHGExNWEIX7yeupIgkdt8RHwDMXX/a63kmpjvfd6 2+ykweypFED52RRI3vjlcXIiesvzKj02bkYshR/jpohA7jBlHdR8mvedmsnxY9SL8tTM yo4D5ybW2ygZa9NUixt+JdBtFGZw1Y0aA8sRlBgRgWE/I6NKn5dsIb3tNios2feM0NuX hgkR4t7u8/VS5KR8d7RpAxjAIETZl+CIS2wTVETCfylAB0OJmEyysFC7Vxl36ICJoztk gDbQ== X-Gm-Message-State: AOAM532uHpRU2Q+s+SrtJiMrYvSzEGh4UqJHD4ZjEu52VNIrIRDzI6Lj inrvowA7ouOmO3cy43S5083xHx3c02+a0mWA8Zw= X-Google-Smtp-Source: ABdhPJzCp8l3A/Fsj0TZQ+OxQYnScyEYwv++Am6wtEdQL4xL4dwGT+DMvbYX+E5VsyNEvNEsBHQWUYsEBS7Dxr724lM= X-Received: by 2002:a02:712c:: with SMTP id n44mr45540944jac.92.1637549325157; Sun, 21 Nov 2021 18:48:45 -0800 (PST) In-Reply-To: X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::d30 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::d30; envelope-from=atamariya@gmail.com; helo=mail-io1-xd30.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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" Xref: news.gmane.io gmane.emacs.devel:279902 Archived-At: --000000000000d407f305d157a92b Content-Type: text/plain; charset="UTF-8" > > I'm curious. I can't see any functionality in librsvg for loading an > SVG DOM directly without doing a round-trip into a string. Am I > missing something? > Good point. I hope the following will perform better. RsvgHandle * rsvg_handle_new_from_stream_sync (*GInputStream *input_stream*, *GFile *base_file*, *RsvgHandleFlags flags*, *GCancellable *cancellable*, *GError **error*); --000000000000d407f305d157a92b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'm curious. I can't see any functionality in librsvg for loading a= n
SVG DOM directly without doing a round-trip into a string. Am I
missing something?
Good point. I hope the following wi= ll perform better.
RsvgH=
andle=C2=A0*
rsvg_handle_new_from_stream_sync (GInputStream *input_stre=
am,
                                  <=
span class=3D"gmail-type">GFile *base_file,
                                  RsvgHandleFlags flags,
                                  GCancellable *cancellabl=
e,
                                  GError **error);=

--000000000000d407f305d157a92b--