Package Details: ttf-ms-win11-auto-zh_cn 10.0.26100.1742-4

Git Clone URL: https://aur.archlinux.org/ttf-ms-win11-auto.git (read-only, click to copy)
Package Base: ttf-ms-win11-auto
Description: Microsoft Windows 11 Simplified Chinese TrueType fonts
Upstream URL: https://www.microsoft.com/typography/fonts/product.aspx?PID=164
Licenses: custom
Conflicts: ttf-ms-win11-zh_cn
Provides: ttf-ms-win11-zh_cn
Submitter: octocorvus
Maintainer: octocorvus (kode54)
Last Packager: kode54
Votes: 92
Popularity: 5.38
First Submitted: 2022-05-06 13:39 (UTC)
Last Updated: 2025-05-20 01:55 (UTC)

Dependencies (5)

Required by (1)

Sources (143)

Pinned Comments

kode54 commented on 2024-02-04 10:43 (UTC) (edited on 2025-05-20 21:47 (UTC) by kode54)

You apparently need to be a member of the disk group to mount a filesystem as an otherwise unprivileged user.

sudo usermod -aG disk $USER

And log out and back in again.

Edit: If you experience weird missing dependency issues with fuse3 or gumbo-parser, you need to rebuild httpdirfs. rebuild-detector, which supplies checkrebuild and a pacman hook which also runs it during upgrades, can somewhat alleviate the problem of keeping AUR packages up to date, since they're not usually bumped when they need a rebuild.

Latest Comments

« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 12 Next › Last »

everyx commented on 2023-08-05 12:45 (UTC)

你好,请问能否加入「楷体」和「仿宋」的支持?

dogmat73 commented on 2023-07-09 07:29 (UTC)

Операционная система: Manjaro Linux Версия KDE Plasma: 5.27.5 Версия KDE Frameworks: 5.106.0 Версия Qt: 5.15.9 Версия ядра: 6.3.5-2-MANJARO (64-бита) Графическая платформа: X11 Процессоры: 6 × Intel® Core™ i5-9400F CPU @ 2.90GHz Память: 15,6 ГиБ ОЗУ Графический процессор: NVIDIA GeForce RTX 2060/PCIe/SSE2

dogmat73 commented on 2023-07-09 07:24 (UTC)

  • Creating loop device Error opening (ro) file mnt/http/22621.525.220925-0207.ni_release_svc_refresh_CLIENTENTERPRISEEVAL_OEMRET_x64FRE_en-us.iso: Нет такого файла или каталога /var/tmp/pamac-build-dogmat/ttf-ms-win11-auto/PKGBUILD: строка 420: -1: заданное подстрокой выражение меньше нуля

И далее в конце:

==> ОШИБКА: Произошел сбой в package_ttf-ms-win11-auto().

The following is an English translation:

  • Creating loop device Error opening (ro) file mnt/http/22621.525.220925-0207.ni_release_svc_refresh_CLIENTENTERPRISEEVAL_OEMRET_x64FRE_en-us.iso: There is no such file or directory /var/tmp/pamac-build-dogmat/ttf-ms-win11-auto/PKGBUILD: строка 420: -1: the expression given by the substring is less than zero

and at the end of:

==> ERROR: There was a malfunction in package_ttf-ms-win11-auto(). Interruption...

programegg commented on 2023-07-09 02:25 (UTC) (edited on 2023-07-09 03:22 (UTC) by programegg)

@dogmat73 what is your actual error because your out-of-date flag and your comment are not descriptive about the issue you have. This PKGBUILD installs fine on my Arch machine.

dogmat73 commented on 2023-07-06 08:06 (UTC)

Please update the file as it is not installed in the latest version of Manjaro

octocorvus commented on 2023-05-16 18:28 (UTC)

@Omar007 thank you for the patch! I'll clean this patch (if possible), and include it in the next version.

Omar007 commented on 2023-05-16 17:32 (UTC) (edited on 2023-05-16 17:36 (UTC) by Omar007)

That whole section with the udisksctl check and the variable to mark support is a bit troublesome. The variable will always be true in the later check, no matter the result of the udisksctl call; both if [ false ] and if [ true ] are always true; they are non-empty strings.

I ended up patching the PKGBUILD as follows:

--- PKGBUILD
+++ PKGBUILD
@@ -403,9 +403,11 @@
     touch test.mount
-    _unprivilegedMountAllowed=false
-    _testLoopDev=$(udisksctl loop-setup -r -f test.mount --no-user-interaction | awk '{print $NF}') && _unprivilegedMountAllowed=true
-    _testLoopDev=${_testLoopDev::-1}
-    udisksctl loop-delete -b "$_testLoopDev" --no-user-interaction
+    _testLoopDev=$(udisksctl loop-setup -r -f test.mount --no-user-interaction | awk '{print $NF}')
+    if [ -n "${_testLoopDev}" ]; then
+      _unprivilegedMountAllowed=1
+      _testLoopDev=${_testLoopDev::-1}
+      udisksctl loop-delete -b "$_testLoopDev" --no-user-interaction
+    fi
     rm test.mount

-    if [ $_unprivilegedMountAllowed ]; then
+    if [ -n "$_unprivilegedMountAllowed" ]; then
       echo "allowed"

It can probably be minimized a bit more and might not catch some other cases (e.g. it doesn't account for non-zero exit codes for udisksctl calls that produce normal output) but I did not want to spend to much time on this atm as the udisks path does not cover my use-case anyway.

drankinatty commented on 2023-05-07 21:51 (UTC) (edited on 2023-05-07 21:52 (UTC) by drankinatty)

Package fails with gdbus permission issues, e.g.

==> Starting prepare()...
- Examining locally available fonts
- Fonts are missing
- Mount filesystems as a non-privileged user: Error setting up loop device for test.mount: GDBus.Error:org.freedesktop.UDisks2.Error.NotAuthorizedCanObtain: Not authorized to perform operation
/home/david/arch/pkg/bld/ttf-ms-win11-auto/PKGBUILD: line 406: -1: substring expression < 0

Never seen that before. linux-6.3 issue?

fbrennan commented on 2023-04-15 14:04 (UTC)

Any idea why we are missing Msmincho.ttc?

gbc921 commented on 2023-02-13 18:10 (UTC)

Awesome package and automation! Thanks for this!