Compartilhamento de tecnologia

Ubuntu22.04 compila biblioteca dinâmica freetype

2024-07-12

한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina

#--------------------------------------------------------------------
#ubuntu22.04 compilar tipo livrebiblioteca dinâmica
#--------------------------------------------------------------------
Como o autor precisa chamar certas fontes especiais em um projeto e usar freetype, baixe o código-fonte.
compilado emcompartilhado biblioteca e instale-a. Isso é registrado para referência futura.

Execute o seguinte script como root durante todo o processo:

cd /opt/download ##Se esse diretório não existir, crie-o
wget https://download-mirror.savannah.gnu.org/releases/freetype/freetype-2.13.2.tar.gz
tar -zxvf freetype-2.13.2.tar.gz -C /opt
cd /opt/freetype-2.13.2
./configurar
faça -j$(nproc)
fazer instalar