Arch linux шрифты microsoft

Microsoft fonts

This article explains how to install TrueType Microsoft fonts and emulate Windows’ font rendering.

Contents

Installation

Using fonts from a Windows partition

If there is a Windows partition mounted, its fonts can be used by linking to them. It may be necessary to apply a workaround for system compressed files in order to read the font files.

For example, if the Windows C:\ partition is mounted at /windows :

Then regenerate the fontconfig cache:

Alternatively, copy the Windows fonts to /usr/share/fonts/ :

Then regenerate the fontconfig cache:

Extracting fonts from a Windows ISO

The fonts can also be found in a Windows ISO file. The format of the image file containing the fonts in the ISO is either WIM (Windows Imaging Format) if the ISO is downloaded online or ESD (Windows Electronic Software Download) if it is built with Windows’ Media Creation Tool. Extract the sources/install.esd or the sources/install.wim file from the .iso and look for a Windows/Fonts directory within this file. It can be extracted using 7z (in p7zip) or wimextract (in wimlib ). See an example below using 7z:

The fonts and the license will be located in the fonts directory.

Current packages

  • ttf-office-2007-fontsAUR — Office 2007 fonts
  • ttf-win7-fontsAUR — Windows 7 fonts
  • ttf-ms-win8AUR — Windows 8.1 fonts
  • ttf-ms-win10AUR — Windows 10 fonts

Legacy packages

You can also obtain ttf-tahoma AUR which, as you might expect, contains Tahoma.

Fontconfig rules useful for MS Fonts

Often websites specify the fonts using generic names (helvetica, courier, times or times new roman) and a rule in fontconfig maps these names to free fonts (Liberation, Google CrOS, GUST TeX Gyre. ). The substitutions are defined in /etc/fonts/conf.d/30-metric-aliases.conf .

To make full use of the Ms Windows fonts it is necessary to create a rule mapping those generic names to the Ms Windows specific fonts contained in the various packages above:

It is also useful to associate serif,sans-serif,monospace fonts in your favourite browser to MS fonts.

Windows 8

Although it provides newer versions of the fonts, it cannot automatically download the fonts due to license issues.

Читайте также:  Самая страшная ошибка windows

You can acquire fonts from an installed and fully updated Windows 8.1 system. Any edition of Windows 8.1 build Windows 8.1 6.3.9600.17238 will work.

On the installed Windows 8.1 system fonts are usually located in %WINDIR%\Fonts and license file is %SYSTEM32%\license.rtf .

You need the files listed in the source=() array. Place them in the same directory as this PKGBUILD file, then run makepkg.

makepkg —pkg ttf-ms-win8 will make just the Windows 8.1 core fonts package which should cover even more than ttf-ms-fonts AUR .

Источник

Microsoft fonts (Русский)

Эта статья объясняет, как установить шрифты TrueType Microsoft и эмулировать рендеринг шрифтов Windows.

Contents

Установка

Использование шрифтов с раздела Windows

Если есть примонтированный раздел с установленной Windows, можно использовать шрифты Windows, ссылаясь на них.

Например, если раздел Windows C:\ смонтирован в /windows :

Затем, обновите кэш fontconfig:

В качестве альтернативы, скопируйте шрифты Windows, в /usr/share/fonts :

Затем, обновите кэш fontconfig:

Текущие пакеты

  • ttf-office-2007-fontsAUR — шрифты Office 2007 fonts
  • ttf-win7-fontsAUR — шрифты Windows 7
  • ttf-ms-win8AUR — шрифты Windows 8.1
  • ttf-ms-win10AUR — шрифты Windows 10

Устаревшие пакеты

Вы также можете получить ttf-tahoma AUR который, как вы и ожидали, содержит Tahoma.

Полезные правила Fontconfig для шрифтов MS

Часто сайты задают шрифты, используя общие имена (helvetica, courier, times или times new roman) правило в fontconfig заменит эти (некрасивые) свободные шрифты:

чтобы в полной мере использовать шрифты MS, необходимо создать правило сопоставления этих общих имен, конкретному MS шрифту, содержащемуся из вышеуказанных пакетов:

Также полезно ассоциировать serif, sans-serif, monospace шрифты в вашем любимом браузере, с шрифтами MS.

Windows 7

Воспользуйтесь патченным Infinality пакетом freetype2, и используйте профиль Windows 7 в provided (условиях) local.conf .

Windows 8

Хотя он обеспечивает более новые версии шрифтов, он не может автоматически загружать шрифты по лицензионным соображениям.

Вы можете приобрести шрифты установленной и полностью обновленной системы Windows 8.1. Любое издание Windows 8.1 build Windows 8.1 6.3.9600.17238 будет работать.

На установленной системе Windows 8.1 шрифты, как правило, находится в %WINDIR%\Fonts , и файл лицензии %SYSTEM32%\license.rtf .

Вам нужны файлы, перечисленные в массиве source=() . Поместите их в той же директории, что и этот файл PKGBUILD, а затем запустите makepkg.

makepkg —pkg ttf-ms-win8 сделает пакет основных шрифтов Windows 8.1 который охватывает даже больше, чем ttf-ms-fonts AUR .

Шрифты лучше всего рассматривать с Infinality. Infinality предлагает большой рендеринг шрифтов и настроек.

Источник

Arch Linux User Repository

Search Criteria

Package Details: ttf-ms-fonts 2.0-12

Package Actions

Git Clone URL: https://aur.archlinux.org/ttf-ms-fonts.git (read-only, click to copy)
Package Base: ttf-ms-fonts
Description: Core TTF Fonts from Microsoft
Upstream URL: http://corefonts.sourceforge.net
Keywords: corefonts
Licenses: custom:microsoft
Provides: ttf-font
Submitter: None
Maintainer: alerque
Last Packager: alerque
Votes: 2029
Popularity: 11.39
First Submitted: 2010-12-01 11:17
Last Updated: 2020-05-25 15:35
Читайте также:  Mac os неожиданное завершение приложения mysql workbench

Dependencies (0)

Required by (198)

  • albion-online-launcher-bin (requires ttf-font)
  • awesome-luajit (requires ttf-font) (make)
  • basilisk (requires ttf-font)
  • beataroni-bin
  • bin32-jdk5 (requires ttf-font) (optional, x86_64)
  • brave (requires ttf-font)
  • brave-beta-bin (requires ttf-font)
  • brave-bin (requires ttf-font)
  • brave-dev-bin (requires ttf-font)
  • brave-git (requires ttf-font)
  • brave-nightly-bin (requires ttf-font)
  • browservice
  • canaries-form-420
  • cctv-viewer-git (requires ttf-font)
  • chromium-dev (requires ttf-font) (optional)
  • cliqz (requires ttf-font)
  • cliqz-bin (requires ttf-font)
  • cn.feishu.deepin(optional)
  • com.cbox.deepin(optional)
  • com.dzh365.deepin(optional)
  • com.eastmoney.emdesk.deepin(optional)
  • com.evernote.deepin(optional)
  • com.fenbi.deepin(optional)
  • com.foxmail.deepin(optional)
  • com.freepiano.deepin(optional)
  • com.jiakaobaodian.deepin(optional)
  • com.jisuoffice.deepin(optional)
  • com.meituxiuxiu.deepin(optional)
  • com.pscs6.deepin(optional)
  • com.qq.video.deepin(optional)
  • com.qq.weixin.spark(optional)
  • com.taobao.aliclient.qianniu.deepin(optional)
  • com.taobao.wangwang.deepin(optional)
  • com.tdx.deepin(optional)
  • com.tencent.meeting.deepin(optional)
  • com.ths.deepin(optional)
  • com.wesing.deepin(optional)
  • com.wymail.deepin(optional)
  • com.xiaokanba.bbs.spark(optional)
  • com.youdao.note.deepin(optional)
  • com.youku.deepin(optional)
  • com.yunkanpan.numnode(optional)
  • com.zybstudent.xp.deepin(optional)
  • deepin.com.qq.rtx2015(optional)
  • dissenter-browser-bin (requires ttf-font)
  • dot-bin (requires ttf-font)
  • ecere-sdk (requires ttf-font)
  • ecere-sdk-git (requires ttf-font)
  • eddiscovery(optional)
  • efl-full-git (requires ttf-font)
  • efl-git (requires ttf-font)
  • efl-git-asan (requires ttf-font)
  • fio_api_plus (requires ttf-font)
  • firedragon (requires ttf-font)
  • firedragon-hg (requires ttf-font)
  • firefox-appmenu (requires ttf-font)
  • firefox-appmenu-bin (requires ttf-font)
  • firefox-beta (requires ttf-font)
  • firefox-bin (requires ttf-font)
  • firefox-esr (requires ttf-font)
  • firefox-esr52 (requires ttf-font)
  • firefox-hg (requires ttf-font)
  • firefox-nightly-hg (requires ttf-font)
  • firefox-ubuntu-bin (requires ttf-font)
  • firefox-unbranded (requires ttf-font)
  • firefox-wayland-hg (requires ttf-font)
  • firefox56 (requires ttf-font)
  • grappl (requires ttf-font)
  • icecat (requires ttf-font)
  • intellij-idea-community-edition-git (requires ttf-font)
  • intellij-idea-community-edition-jre (requires ttf-font)
  • intellij-idea-community-edition-no-jre (requires ttf-font)
  • iridium-deb (requires ttf-font)
  • jdk-arm (requires ttf-font) (optional)
  • jdk5 (requires ttf-font) (optional)
  • jdk6 (requires ttf-font) (optional)
  • josm-javaws (requires ttf-font)
  • josm-svn (requires ttf-font)
  • kdebase-workspace (requires ttf-font)
  • kdebase-workspace-consolekit (requires ttf-font)
  • librewolf (requires ttf-font)
  • librewolf-bin (requires ttf-font)
  • librewolf-hg (requires ttf-font)
  • magiclauncher (requires ttf-font)
  • mememaker-quiet
  • mencoder-svn (requires ttf-font) (make)
  • mnemosyne(optional)
  • mplayer-gui (requires ttf-font) (make)
  • mplayer-gui (requires ttf-font)
  • mplayer-gui-svn (requires ttf-font) (make)
  • mplayer-gui-svn (requires ttf-font)
  • mplayer-svn (requires ttf-font) (make)
  • mplayer-svn (requires ttf-font)
  • mplayer2-build-git (requires ttf-font)
  • mudlet (requires ttf-font)
  • mudlet-git (requires ttf-font)
  • museeks-bin (requires ttf-font)
  • netbeans-cpp-nightly (requires ttf-font)
  • netbeans-incubator (requires ttf-font)
  • netbeans-javaee (requires ttf-font)
  • netbeans-javaee-nightly (requires ttf-font)
  • netbeans-javase (requires ttf-font)
  • netbeans-javase-nightly (requires ttf-font)
  • netbeans-nightly (requires ttf-font)
  • netbeans-php-nightly (requires ttf-font)
  • netbeans8 (requires ttf-font)
  • nwjs (requires ttf-font)
  • nwjs(make)
  • odin2-synthesizer (requires ttf-font)
  • onlyoffice-bin(optional)
  • opera-beta (requires ttf-font)
  • opera-developer (requires ttf-font)
  • performous-git(optional)
  • perl-tk-xft (requires ttf-font) (check)
  • php74-imagick (requires ttf-font)
  • php80-imagick (requires ttf-font)
  • pianoteq (requires ttf-font)
  • pianoteq-stage (requires ttf-font)
  • pipelight
  • popcorntime (requires ttf-font)
  • popcorntime-bin (requires ttf-font)
  • popcorntime-bin-ci (requires ttf-font)
  • popcorntime-ce (requires ttf-font)
  • popcorntime-ce-bin (requires ttf-font)
  • popcorntime-ce-git (requires ttf-font)
  • popcorntime-ru-bin (requires ttf-font)
  • powerword-bin(optional)
  • python-git (requires ttf-font) (check)
  • python-quick-build-git (requires ttf-font) (check)
  • python-tests-git (requires ttf-font) (check)
  • python-weasyprint (requires ttf-font)
  • ruby-asciidoctor-diagram (requires ttf-font) (optional)
  • runelite (requires ttf-font)
  • runelite-git (requires ttf-font)
  • runeliteplus-git (requires ttf-font)
  • sencha-cmd-6 (requires ttf-font)
  • sencha-cmd-6.1 (requires ttf-font)
  • serpent-browser (requires ttf-font)
  • servo-git (requires ttf-font)
  • sharpfonts
  • shitpost(optional)
  • sid-vst-git
  • slim-unicode (requires ttf-font)
  • slim-xserver-ready (requires ttf-font)
  • slimjet (requires ttf-font)
  • sway-borders-git (requires ttf-font)
  • sway-git (requires ttf-font)
  • sway-hidpi-git (requires ttf-font)
  • sway-im (requires ttf-font)
  • sway-inhibit-fullscreen-git (requires ttf-font)
  • sway-no-titlebars-git (requires ttf-font)
  • sway-nosystemd-git (requires ttf-font)
  • sway-nosystemd-minimal-git (requires ttf-font)
  • sway-strace-git (requires ttf-font)
  • sway-titlebar-positioning-git (requires ttf-font)
  • sway9 (requires ttf-font)
  • swea-git (requires ttf-font)
  • thedude(optional)
  • thunderbird-appmenu (requires ttf-font)
  • thunderbird-appmenu-bin (requires ttf-font)
  • thunderbird-beta (requires ttf-font)
  • thunderbird-localized-beta-bin (requires ttf-font)
  • thunderbird-ubuntu-bin (requires ttf-font)
  • trac-masterticketsplugin (requires ttf-font)
  • unbrave-git (requires ttf-font)
  • vala-git (requires ttf-font)
  • vala0.36 (requires ttf-font)
  • vala0.40 (requires ttf-font)
  • vala0.42 (requires ttf-font)
  • vala0.44 (requires ttf-font)
  • vdr (requires ttf-font)
  • vdr (requires ttf-font) (make)
  • vdr-devel (requires ttf-font)
  • vdr-examples (requires ttf-font) (make)
  • vdr-examples-git (requires ttf-font) (make)
  • vdr-git (requires ttf-font) (make)
  • vdr-git (requires ttf-font)
  • vivaldi-snapshot (requires ttf-font)
  • waterfox (requires ttf-font)
  • waterfox-classic-bin (requires ttf-font)
  • waterfox-classic-git (requires ttf-font)
  • waterfox-classic-kpe (requires ttf-font)
  • waterfox-current-bin (requires ttf-font)
  • waterfox-current-kpe (requires ttf-font)
  • waterfox-g3-bin (requires ttf-font)
  • waterfox-g3-git (requires ttf-font)
  • waterfox-g3-kpe (requires ttf-font)
  • wavebox-bin(optional)
  • winbox(optional)
  • winbox-xdg(optional)
  • winbox64(optional)
  • wine-browser-installer
  • wps-office(optional)
  • wps-office-cn(optional)
  • yandex-browser-beta (requires ttf-font)
  • zaproxy-weekly (requires ttf-font)
  • zoom (requires ttf-font)
  • zoom-system-qt (requires ttf-font)
Читайте также:  Find windows file version command line

Sources (11)

Latest Comments

duzun commented on 2020-09-13 11:14

The issue is in that SourceForge has changed the behaviour of the download links and no longer redirect to the binaries on curl. I’ve inserted the following in the PKGBUILD after source=(«$<_files[@]/#/$_dlpath/>«) :

alerque commented on 2020-08-31 21:00

@micronetic That’s proof that the package and its checksums are doing their job and flagging invalid downloads. The problem here is Source Forge’s download mirror system. The issues are highly mirror (and hence region) dependent with some having more strict rate limiting and such than others. There isn’t really anything this package can do about this.

micronetic commented on 2020-08-31 10:32

@caleb I had the same problem as @ginkel yesterday but today it is working again.

alerque commented on 2020-08-31 07:19

@ginkel The upstream source files haven’t changed since 2002. I suspect you had trouble downloading them all at once from some SourceForge mirror. Try downloading them one at a time using wget or even from a browser and placing them in the sources folder. The checksums should be right when you get valid files.

b3n10 commented on 2020-08-30 07:09

@ginkel my only failed download is webdin32.exe , but i changed the _dlpath to https://sourceforge.net/projects/corefonts/files/the%20fonts/final and afterwards it downloads that file for me and proceed installation

ginkel commented on 2020-08-29 11:19

Since two days, installing the package fails with the following error:

— 8 _dlpath in the PKGBUILD or messing about with your DNS resolution to override the domain to a working mirror, but that’s up to you to download the files not this package. Sorry!

Copyright © 2004-2021 aurweb Development Team.

AUR packages are user produced content. Any use of the provided files is at your own risk.

Источник

Оцените статью