This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (i in activities()) { | |
activityID = activities()[i]; | |
desktops = desktopsForActivity(activityID) | |
for (j in desktops) { | |
desktop = desktops[j]; | |
desktop.wallpaperPlugin = "org.kde.image"; | |
desktop.wallpaperMode = "Scaled and Cropped"; | |
desktop.currentConfigGroup = new Array("Wallpaper", "org.kde.image", "General"); | |
desktop.writeConfig("Image", "file:///home/zhou/Pictures/Bing/AlpineLarches_ZH-CN10557456981_1920x1200.jpg"); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <dirent.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include "unicode/ucol.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import stat | |
import subprocess | |
def find(d, a, b): | |
for f in os.listdir(d): | |
f = os.path.join(d, f) | |
if os.path.isdir(f): | |
find(f, a, b) | |
elif os.path.isfile(f): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -urN blink-ada7d6231602a093e52abc3340cc697674c9fae9.orig/renderer/core/css/css_font_selector.cc blink/renderer/core/css/css_font_selector.cc | |
--- blink-ada7d6231602a093e52abc3340cc697674c9fae9.orig/renderer/core/css/css_font_selector.cc 2025-02-15 09:43:10.732938782 +0800 | |
+++ blink/renderer/core/css/css_font_selector.cc 2025-02-15 09:50:27.682932708 +0800 | |
@@ -140,6 +140,7 @@ | |
.GetFrame() | |
->GetSettings() | |
->GetGenericFontFamilySettings(); | |
+ DVLOG(0) << "[CSSFontSelector::CSSFontSelector] call CSSFontSelector(&treescope) constructor"; | |
FontCache::Get().AddClient(this); | |
if (tree_scope.RootNode().IsDocumentNode()) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -urN ports.orig/SkFontConfigInterface_direct.cpp ports/SkFontConfigInterface_direct.cpp | |
--- ports.orig/SkFontConfigInterface_direct.cpp 2025-02-18 20:51:46.586862156 +0800 | |
+++ ports/SkFontConfigInterface_direct.cpp 2025-02-18 20:51:43.910244016 +0800 | |
@@ -588,6 +588,68 @@ | |
return match; | |
} | |
+FcPattern* SkFontConfigInterfaceDirect::getFontPattern(FcConfig* config, const char* family_name, int weight) { | |
+ FcFontSet* system = FcConfigGetFonts(config, FcSetSystem); | |
+ if (system) { |