From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: Re: Screenshots, frame shots straight from Emacs Date: Tue, 3 Aug 2021 08:56:04 +0800 Message-ID: References: <87sg1dgbbk.fsf@omarpolo.com> <87pmwhg843.fsf@omarpolo.com> <8735t96mxj.fsf@omarpolo.com> <87pmw961ox.fsf@zoho.eu> <874kcpxln9.fsf@logand.com> <87pmvcdgqg.fsf@t14.reltub.ca> <87a6mgwz17.fsf@logand.com> <87fsw8butp.fsf@t14.reltub.ca> <878s20d81n.fsf@logand.com> <87wnp62hhe.fsf@logand.com> <87lf5lkixz.fsf@zoho.eu> <87mtq13bxd.fsf@logand.com> <87k0l5ljnl.fsf@zoho.eu> <87v94pipbk.fsf@logand.com> <87a6lzr559.fsf@logand.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1137"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs To: Tomas Hlavaty Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 03 02:56:55 2021 Return-path: Envelope-to: geh-help-gnu-emacs@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 1mAijn-00005t-63 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 03 Aug 2021 02:56:55 +0200 Original-Received: from localhost ([::1]:34156 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mAijl-0006zk-DT for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 02 Aug 2021 20:56:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAijE-0006zb-Mi for help-gnu-emacs@gnu.org; Mon, 02 Aug 2021 20:56:20 -0400 Original-Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]:44798) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mAijC-0003Yi-Gd for help-gnu-emacs@gnu.org; Mon, 02 Aug 2021 20:56:20 -0400 Original-Received: by mail-lj1-x22d.google.com with SMTP id a7so26137648ljq.11 for ; Mon, 02 Aug 2021 17:56:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PNDmGYj4EZBHwFfc/6YnIjqqlBvKZrzKUODmY2FmW/I=; b=Jv847OuSxKM/c34cjo5LQ3LsDUJ8WpxKmLPrJS2wPb0bnHcX/eBafOE61zfPCyfV57 AZewPdxJ0UqcvOPOenHA6gTNyCoUKX2G2fL6K5VHvPKHFIQXfMho6G+1QqQDh7PSjoz9 gkE3sfTiC23o/agrHA4lQY3lsK6yqfl+2O1pgyH/lKJnwWZHvDJpgtnVaNK18qdGytDk 603FStV4gOsKfxjrmi75dM+SIq457Rl67UYUeQxseDXC96/3BRYt72K/2LFHV9lDj3py tHlYW77WNBe5/ODMa1mOafjW2hX2ufVeaHHaWmntCq1T/YAFRR3SCZPETJyc8QcimEXX q29g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PNDmGYj4EZBHwFfc/6YnIjqqlBvKZrzKUODmY2FmW/I=; b=XLE56EIKq9kyr6TLScTiKFrCTJDfaUzU0GnIfb7CH+z436bJbiF9U/b3EgRlo/YXDd mLDdzW6fBWGbOW42FOqn2cJoIJJspyvUAxwlfAFiPcMQKkbCOXx1G9hHg/1f6ojvcikL 03imNDRjy2eITk4RAukSOuHKNmV6heWdAgMj8u7YeKNfoUyIhXOKc00w+aHzYuEIdvqb J1cNv55BiyZ/NNgWseXBkv06glkcJW/sanezMH5O5bXaJBm6Qybooecj2oAIg7zEkj7g o+CD3IMetCsQiDrkh8JSzoT3pMmuPo47uQdI27YaOhdBby87RHAC2n96hmZI+VtDbi0e wpOQ== X-Gm-Message-State: AOAM5339v3w0LCvRZT6nVaHJi6v1egLx/3QdvVavxDAD0L3ipaBm0A7P EVELKNQxhJ4n5XXffrW0R2BHEv2pX5eUNWyp259yC/PrOHznZYYRK/M= X-Google-Smtp-Source: ABdhPJw4/lyQS+THRnGLaBfbrqUUzofWigAHWdLCebY8XpjvR8YwSmYVMkJPOAMhsovZ3SnpJhI4Pai7jXddziKiprM= X-Received: by 2002:a05:651c:983:: with SMTP id b3mr12911874ljq.287.1627952176819; Mon, 02 Aug 2021 17:56:16 -0700 (PDT) In-Reply-To: <87a6lzr559.fsf@logand.com> Received-SPF: pass client-ip=2a00:1450:4864:20::22d; envelope-from=hongyi.zhao@gmail.com; helo=mail-lj1-x22d.google.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_SBL_A=0.1 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:132330 Archived-At: On Tue, Aug 3, 2021 at 3:57 AM Tomas Hlavaty wrote: > > On Mon 02 Aug 2021 at 21:57, Hongyi Zhao wrote: > > It sounds wonderful. I try to clone you repo, but failed: > > > > $ git clone https://logand.com/sw/emacs-framebuffer.git > > Cloning into 'emacs-framebuffer'... > > fatal: repository 'https://logand.com/sw/emacs-framebuffer.git/' not found > > you are using wrong url, try > > git clone https://logand.com/git/emacs-framebuffer.git Thank you, it does the trick. > I did write it correctly in id:87wnp62hhe.fsf@logand.com and it is also > correct in the sources. > > Where did you find the wrong url? I am based on the following post by you: ;;; > On Tue 20 Jul 2021 at 22:50, Tomas Hlavaty wrote: > > I'll push the fixes at the end of this week when I have better > > internet connection. > done > > see https://logand.com/sw/emacs-framebuffer/ ;;; > > Why not put it on GitHub > > because I do not want Microsoft Github I understand. BTW, though Github is acquired by Microsoft, it's still free and the top 1 free open source software development and version control platform in the world. > > and also give some use cases? > > Agree that the documentation is rather sparse but it does say: > > Show images and documents in console using Linux framebuffer. > > When you open an image or a document, it will simply display it. In the source, you says the following: ;;; - imagemagick to modify images and svg support According to my experience, imagemagick will rasterize the vector image. If you want to obtain a lossless vectorized image conversion support, I suggest to use rsvg-convert and inkscape for svg support [1]: $ rsvg-convert -f pdf -o chemical_potential.pdf chemical_potential.svg $ inkscape chemical_potential.svg --export-pdf=chemical_potential.pdf > What do you think I should write about? Thank you for your explanation. Let me give it a try and then comment/feedback further. [1] https://superuser.com/questions/381125/how-do-i-convert-an-svg-to-a-pdf-on-linux Best -- Assoc. Prof. Hongyi Zhao Theory and Simulation of Materials Hebei Vocational University of Technology and Engineering No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province