From mboxrd@z Thu Jan 1 00:00:00 1970 From: sirgazil Subject: Re: Guix video repository: First video script commited Date: Thu, 28 Feb 2019 14:36:41 -0500 Message-ID: <96c1d004-df3b-0114-483e-e35ce24c32b7@zoho.com> References: <20190227001049.2ad18e97@alma-ubu> <20190227171038.52074550@alma-ubu> <875zt3ztu1.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:34242) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzRUS-0007sw-6O for guix-devel@gnu.org; Thu, 28 Feb 2019 14:37:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzRUR-0001SM-9b for guix-devel@gnu.org; Thu, 28 Feb 2019 14:37:08 -0500 Received: from sender-pp-091.zoho.com ([135.84.80.236]:25033) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gzRUQ-0001P1-Vf for guix-devel@gnu.org; Thu, 28 Feb 2019 14:37:07 -0500 In-Reply-To: Content-Language: en-US List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Laura Lazzati , Ricardo Wurmus Cc: guix-devel Hi, Laura, everyone, El 28/02/19 a las 1:45 p. m., Laura Lazzati escribi=C3=B3: > On Thu, Feb 28, 2019 at 2:54 PM Laura Lazzati > wrote: >> >>> I =E2=80=9Cinstalled=E2=80=9D the fonts by placing them in ~/.fonts, ru= nning =E2=80=9Cfc-cache >>> -f=E2=80=9D as needed. As long as fc-cache knows about the directory i= t will be >>> fine. > When Ricardo knows, he knows :P. > My missing step was putting it under ~/.fonts. Will add mabe a fonts > folder under root dir and then a script to move it to ~/.fonts and run > fc-cache, WDYT? >=20 > Regards :) > Laura >=20 That didn't work for me. I built the "01-installation-from-script" videos, and found the=20 following problems: + Text is not rendered with the appropriate font (known issue). + Firefox 65.0.1 says "Video can't be played because the file is corrupt." These are the steps I followed to build the videos: 1. $ git clone https://git.savannah.gnu.org/git/guix/videos.git (I got=20 commit 03930dc) 2. Add missing fonts to $HOME/.fonts 3. $ fc-cache -f 4. $ fc-list ($HOME/.fonts is listed) 5. $ cd path/to/videos 6. $ ./environment.sh 7. [env]# cd 01-installation-from-script 8. [env]# ./buildall.sh After running these, the videos are available in: videos/01-installation-from-script/en_US/videos/ The resulting videos don't use the appropriate fonts in my case.=20 Inkscape, however, which I installed with Guix, renders the video SVGs=20 with the appropriate fonts. I imagine the font problem can be solved by packaging those fonts for=20 Guix and adding them to the environment? As a workaround to the fonts issue, one can convert the text in the SVG=20 files to paths. Using Inkscape, you can do so by running it from the=20 command line using the -T option. For example: $ inkscape -z -T -l=3D1-mod.svg 1.svg As for the corrupted videos, in the Totem video player, the video plays=20 but black colors are displayed green instead (maybe result of the=20 corruption?). In VLC the video plays OK, and the colors are fine. --=20 Luis Felipe L=C3=B3pez Acevedo http://sirgazil.bitbucket.io/