Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id D6F782236BA for <~alpine/users@lists.alpinelinux.org>; Wed, 1 Feb 2023 11:43:13 +0000 (UTC) Received: by mail-lf1-x12e.google.com with SMTP id f34so28800034lfv.10 for <~alpine/users@lists.alpinelinux.org>; Wed, 01 Feb 2023 03:43:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bell-sw-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:subject:from:content-language:to :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=OOhTPXPMBkYtJ7ei+PLsNtSCZeUMy3mGnjLJOBtMyJY=; b=Xc2OeLV7fdX+rBXU7jBHDNFedLp8VGkAxrycx3xCpr7nhdian3JInfGYFYq6xhexDF rkMH4JB6LGrivFjksWIGJ6ebpt3K3UjnVspf2mlxPayTTszSOvBkLUtuXLUb8jf8Ghel JJq0pstHY/OcSpUJCc7fDKHmBlppZqo+NcUiAGnvP9vuSeGKJbjEvfhYBSLZoHCUds/I fk0D7Vxd8GTj6cVYp9I4YI5B1WGgcpVmSMgZA3EENovuUuPc0C0AfhFd2iX0CMVdp2Wb dKrdkR7Zm5GGHFFx5mt5je9L1qGq3vM6tiOs7nPsKwvlfJ3Haiw01yNpuVy9fqbdickD PauA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:subject:from:content-language:to :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=OOhTPXPMBkYtJ7ei+PLsNtSCZeUMy3mGnjLJOBtMyJY=; b=IgpNxvJPbiX7Uassdh9FnAAD7ALU00CU0H3TPFyJYoYzQEN+K4r/uOA03mZ3RFBjv2 fSEe61I2zexJcQ3VYDMQZLgzeqBKHzvngKK20y5us9TvJ7VEpei2XpAcI2uWDg/TgT5K A3gXqkChJ9pMjO0Fg8JhLoqtGWMR5xz0tlXq2gzpOC72kNqiyIDjIii6CM2uapOV//P+ B4v52oH8jODeJjJH+bHGLJFAPM3ljWCYSsDbp74Grqf2HVRhgmV3Emdif2nwcC6tZR3d PfgbC9LirL+5aWvw3OfJjgv7Nz/EgyoelyoM65KwZWEhcEZZGsJSLM9ptLwC6LS3qbKo uH6Q== X-Gm-Message-State: AO0yUKVe9279AnlQT/BdQ3j2jh95PubQi7CbygWWl2oGxeB/uu4rt1vD CBgL5iAC4iF4yHD34z/waH+wwtujKqjVN5Ef X-Google-Smtp-Source: AK7set8pLiEfuE72klges+9OJNrt/2tviWcyA3aTNS/D9aCn5+3dNslXzGbZjIDJXfeYO3kYGxvkGg== X-Received: by 2002:ac2:596a:0:b0:4d5:82bb:8da1 with SMTP id h10-20020ac2596a000000b004d582bb8da1mr336653lfp.60.1675251792981; Wed, 01 Feb 2023 03:43:12 -0800 (PST) Received: from [192.168.88.231] ([37.153.11.115]) by smtp.gmail.com with ESMTPSA id 27-20020ac2483b000000b004d8584970b8sm913099lft.226.2023.02.01.03.43.12 for <~alpine/users@lists.alpinelinux.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 01 Feb 2023 03:43:12 -0800 (PST) Message-ID: <59c4dca8-5cd0-1a7f-043f-924448927ece@bell-sw.com> Date: Wed, 1 Feb 2023 14:43:11 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 To: ~alpine/users@lists.alpinelinux.org Content-Language: en-US From: Alexander Scherbatiy Subject: Font dependencies in Alpine Linux Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hello, If I install dejavu fonts on systems ubuntu:20.04, fedora:35, opensuse/leap:15.4 in docker they do not install fontconfig and freetype as dependencies. DejaVu fonts have dependencies on fontconfig and freetype libraries on Linux Alpine . --------- docker run -it alpine:3.17 ash / # apk update / # apk add font-dejavu (1/10) Installing libexpat (2.5.0-r0) (2/10) Installing brotli-libs (1.0.9-r9) (3/10) Installing libbz2 (1.0.8-r4) (4/10) Installing libpng (1.6.38-r0) (5/10) Installing freetype (2.12.1-r0) (6/10) Installing fontconfig (2.14.1-r0) (7/10) Installing encodings (1.0.6-r0) (8/10) Installing libfontenc (1.1.6-r0) (9/10) Installing mkfontscale (1.2.2-r1) (10/10) Installing font-dejavu (2.37-r3) Executing busybox-1.35.0-r29.trigger Executing fontconfig-2.14.1-r0.trigger Executing mkfontscale-1.2.2-r1.trigger OK: 28 MiB in 25 packages --------- The use case which I have is using a docker with Linux Alpine to generate reports with Java in headless mode. Java allows to use fonts on systems where the fontconfig is not installed by providing paths to fonts in /lib/fontconfig.properties file. Java also can be built with bundled freetype which is a subset of the full freetype library. Is it necessary that fonts have dependencies on fontconfig and freetype libraries in Alpine Linux? Thanks, Alexander.