Package Details: ttf-ms-win11-auto-korean 10.0.26100.1742-2

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 Korean TrueType fonts
Upstream URL: https://www.microsoft.com/typography/fonts/product.aspx?PID=164
Licenses: custom
Conflicts: ttf-ms-win11-korean
Provides: ttf-ms-win11-korean
Submitter: octocorvus
Maintainer: octocorvus (kode54)
Last Packager: kode54
Votes: 81
Popularity: 6.97
First Submitted: 2022-05-06 13:39 (UTC)
Last Updated: 2024-10-20 08:55 (UTC)

Dependencies (4)

Required by (0)

Sources (143)

Pinned Comments

kode54 commented on 2024-02-04 10:43 (UTC) (edited on 2024-02-04 10:45 (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.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »

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!

octocorvus commented on 2023-02-05 06:35 (UTC)

@KafCoppelia I currently don't have a testing environment. I'll try to reproduce the error you and @wagner encountered once I've a testing environment set up.

KafCoppelia commented on 2023-02-04 02:51 (UTC)

Same error occured as wagner.

wagner commented on 2023-01-19 14:09 (UTC)

what could be the cause of this error below?

==> Starting prepare()... - Examining locally available fonts - Fonts are missing - Mount filesystems as a non-privileged user: Error connecting to the udisks daemon: The connection is closed /var/cache/private/pamac/ttf-ms-win11-auto/PKGBUILD: line 406: -1: substring expression < 0 ==> Entering fakeroot environment... ==> Starting package_ttf-ms-win11-auto()... install: cannot stat 'arial.ttf': No such file or directory install: cannot stat 'arialbd.ttf': No such file or directory

octocorvus commented on 2023-01-06 18:52 (UTC)

@smokefml check comments on https://aur.archlinux.org/packages/httpdirfs , rebuilding the binary or installing openssl-1.1 should fix it

smokefml commented on 2023-01-06 18:36 (UTC) (edited on 2023-01-06 18:38 (UTC) by smokefml)

it fails after checking if mounting filesystems is allowed, httpfsdirs doesn't seem to be working

- Mount filesystems as a non-privileged user: allowed
- Downloading fonts directly
- Mounting HTTP file
httpdirfs: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory

octocorvus commented on 2022-12-06 20:27 (UTC)

@Kimi_Arthur it is possible to install this package when using SSH, you have to make sure that polkit allows mounting ISO using udisks (refer to https://wiki.archlinux.org/title/Udisks#Permissions). The check for detecting whether unprivileged mount is allowed is broken, it fails the script if unprivileged mount isn't allowed. I'll try to fix this issue soon when I get free time, but I'm busy atm.