Activity for Gary Wang

  • Gary Wang Gary Wang posted a comment on ticket #2502

    See the attached screenshot. Beside "Extended", there are "Light Extended" and "Bold Extended" as well. I would also suggest you try it out too simply with a QFontDialog. I'm not a font expert, to my understanding, a font style seems like a font properties preset.

  • Gary Wang Gary Wang posted a comment on ticket #2502

    Maybe I still haven't understand the question itself? The end user might choose to use the "Extended" style. The application simply offered a QFontDialog to allow user to select the preferred font, font size, style, etc.

  • Gary Wang Gary Wang posted a comment on ticket #2502

    Also see this attachment for a screenshot of QFontDialog, the middle list view is font name selection area which shows all available style names. For the mentioned Judou font, you can find it here: https://github.com/JudouEco/JudouMono/releases/tag/v2.0.0

  • Gary Wang Gary Wang posted a comment on ticket #2502

    It is "Judou Mono FCM Extended", "Judou Mono FCM" is its font family, "Extended" is its style name. Another example is "Source Code Pro Semibold" which "Source Code Pro" is its font family name and "Semibold" is its style name. The comma here as a splitter to allow we know whch part is font family name and which part is style name.

  • Gary Wang Gary Wang posted a comment on ticket #2502

    My current patch here btw: --- a/qt/ScintillaEditBase/PlatQt.cpp +++ b/qt/ScintillaEditBase/PlatQt.cpp @@ -147,7 +147,13 @@ public: explicit FontAndCharacterSet(const FontParameters &fp) : characterSet(fp.characterSet) { pfont = std::make_unique<QFont>(); pfont->setStyleStrategy(ChooseStrategy(fp.extraFontFlag)); - pfont->setFamily(QString::fromUtf8(fp.faceName)); + QString faceName = QString::fromUtf8(fp.faceName); + if (faceName.contains('/')) { + pfont->setFamily(faceName.section('/', 0, 0));...

  • Gary Wang Gary Wang posted a comment on ticket #2502

    It seems some fonts might have comma (,) in its font family name, so if we go with the splitter method, maybe we need to use another character as splitter like /.

  • Gary Wang Gary Wang created ticket #2502

    Scintilla Qt API cannot set font's style name

  • Gary Wang Gary Wang modified a comment on ticket #2500

    Yeah it indeed look like the same issue as #2450, while I don't think go with setHighDpiScaleFactorRoundingPolicy is a sane way to fix this issue... https://sourceforge.net/p/scintilla/bugs/2450/#e379: Adding surface->FillRectangle(rcTextArea, Fill(vsDraw.styles[StyleDefault].back)); just above // Loop on visible lines in EditView.cxx also works! While the left line number margin still have thin line but it's at least usable :) So does it mean QRectFFromPRect actually don't need to add +1 when converting...

  • Gary Wang Gary Wang posted a comment on ticket #2500

    Yeah it indeed look like the same issue as #2450, while I don't think go with setHighDpiScaleFactorRoundingPolicy is a sane way to fix this issue... https://sourceforge.net/p/scintilla/bugs/2450/#e379: Adding surface->FillRectangle(rcTextArea, Fill(vsDraw.styles[StyleDefault].back)); just above // Loop on visible lines in EditView.cxx also works! So does it mean QRectFFromPRect actually don't need to add +1 when converting PRectangle to QRect?

  • Gary Wang Gary Wang created ticket #2500

    Thin line when using Qt 6 scintilla to render text

  • Gary Wang Gary Wang created ticket #96

    CMake support for libintl

  • Gary Wang Gary Wang modified a comment on ticket #2493

    Maybe the correct fix is to add the #include <cstdint> to ScintillaTypes.h instead of ScintillaDocument.cpp? Since ScintillaTypes.h is the place we actually require uintptr_t and intptr_t.

  • Gary Wang Gary Wang posted a comment on ticket #2493

    Maybe the correct fix is to add the #include <cstdint> to ScintillaTypes.hinstead of ScintillaDocument.cpp? Since ScintillaTypes.h is the place we actually require uintptr_t.

  • Gary Wang Gary Wang imported Files

  • Gary Wang Gary Wang imported Files

  • Gary Wang Gary Wang imported Code

  • Gary Wang Gary Wang imported Files

  • Gary Wang Gary Wang committed [d1fbf6]

    fix: proper check for filemanager1 dbus

  • Gary Wang Gary Wang committed [dfc057]

    chore: update translators.html

  • Gary Wang Gary Wang committed [51e49a]

    chore: add fallback in case filemanager1 dbus failed

  • Gary Wang Gary Wang committed [553475]

    fix(ci): bump zlib version

  • Gary Wang Gary Wang committed [de3943]

    fix: select item no longer work via filemanager1 dbus

  • Gary Wang Gary Wang committed [a24c24]

    Translated using Weblate (Norwegian Bokmål)

  • Gary Wang Gary Wang committed [b83de9]

    feat: open folder will also select file on linux

  • Gary Wang Gary Wang committed [834702]

    fix: blurry when raster image scaled down

  • Gary Wang Gary Wang committed [d535de]

    fix: image blurry on Hi-DPI devices

  • Gary Wang Gary Wang committed [cc7d58]

    fix: proper svg icon rendering on hidpi screen.

  • Gary Wang Gary Wang committed [1cc548]

    chore: update translators.html

  • Gary Wang Gary Wang committed [756d0b]

    chore: update translators.html

  • Gary Wang Gary Wang committed [24f1c4]

    Translated using Weblate (Spanish)

  • Gary Wang Gary Wang committed [8b007b]

    CI(windows): bump dependencies version

  • Gary Wang Gary Wang committed [0bbf14]

    i18n: initial uncompleted Japanese translation

  • Gary Wang Gary Wang committed [93d1ca]

    chore: allow Meta+Up to maximize under Windows with Qt 6

  • Gary Wang Gary Wang committed [814068]

    chore: add license headers for REUSE license check

  • Gary Wang Gary Wang committed [56e5f0]

    feat: add REUSE license check

  • Gary Wang Gary Wang committed [9f2e00]

    Translated using Weblate (French)

  • Gary Wang Gary Wang committed [75da5e]

    chore: use const reference for a lambda slot

  • Gary Wang Gary Wang committed [a2d8a0]

    chore: Update CI link in README.md

  • Gary Wang Gary Wang committed [ea5882]

    chore: update translators.html

  • Gary Wang Gary Wang committed [6bea81]

    update ts files

  • Gary Wang Gary Wang committed [b5d723]

    i18n: strings for the default window size option

  • Gary Wang Gary Wang committed [d645c0]

    chore: comment out an option since string not localized

  • Gary Wang Gary Wang committed [4babf2]

    fix(ci): update zlib url

  • Gary Wang Gary Wang committed [627091]

    fix: caching scaled image to avoid lagging when panning large image

  • Gary Wang Gary Wang committed [c9dadc]

    refactor: use QMetaEnum

  • Gary Wang Gary Wang committed [432266]

    feat: option for set window startup size

  • Gary Wang Gary Wang committed [052d23]

    fix: display system-native path separators

  • Gary Wang Gary Wang committed [d7028b]

    Update translators.html

  • Gary Wang Gary Wang committed [00168a]

    ci(windows): update dependencies version

  • Gary Wang Gary Wang committed [9e1b10]

    feat: open containing folder

  • Gary Wang Gary Wang committed [d51eb7]

    i18n: copywriting for show in directory feature

  • Gary Wang Gary Wang committed [0bf8e3]

    i18n: update copywriting for copyright description

  • Gary Wang Gary Wang committed [6accd0]

    i18n: update ts files

  • Gary Wang Gary Wang committed [77fcd6]

    fix memory leak, print better path

  • Gary Wang Gary Wang committed [649ddd]

    fix: should check and ensure the parent path

  • Gary Wang Gary Wang committed [e58f78]

    fix hardcoded file name

  • Gary Wang Gary Wang committed [ba453b]

    basic workflow test (without actual extracting file now)

  • Gary Wang Gary Wang committed [bdc88d]

    now basicly it works

  • Gary Wang Gary Wang committed [920569]

    add meson build for static building

  • Gary Wang Gary Wang committed [bd120a]

    init commit: test libzip

  • Gary Wang Gary Wang committed [9a03f4]

    ci: build binary via github action

  • Gary Wang Gary Wang committed [38e361]

    update README.txt and add LICENSE

  • Gary Wang Gary Wang committed [560ece]

    Update README.md

  • Gary Wang Gary Wang committed [f202bb]

    feat: new action for open a dialog to select image files

  • Gary Wang Gary Wang committed [c6b785]

    shortcuts: left/right for prev/next image, hide open action from menu

  • Gary Wang Gary Wang committed [82eb53]

    Update translators.html

  • Gary Wang Gary Wang committed [7a1816]

    fix: do mouse gallery navigation on btn release

  • Gary Wang Gary Wang committed [3a442b]

    feat: support forward/back button on mouse for image navigation

  • Gary Wang Gary Wang committed [a4416c]

    chore: initial Qt6 build support

  • Gary Wang Gary Wang committed [26c4c8]

    fix(bottombar): disable border style if no focus on it

  • Gary Wang Gary Wang committed [3f327f]

    fix: mouse back should show previous image

  • Gary Wang Gary Wang committed [c6d0a4]

    fix: should be able to see tab focus white box in bottom bar

  • Gary Wang Gary Wang committed [b994d3]

    ci: bump dependency version

  • Gary Wang Gary Wang committed [64fa58]

    Update translators.html

  • Gary Wang Gary Wang committed [e8e794]

    fix: no longer display resolution info for image that not supported such info

  • Gary Wang Gary Wang committed [fcd5e2]

    fix: disable auto fit after clicking actual size button

  • Gary Wang Gary Wang committed [c0b9d7]

    add new language file to qmake project file

  • Gary Wang Gary Wang committed [36c54a]

    fix: use a workaround to avoid pixelated when zoomed out

  • Gary Wang Gary Wang committed [635199]

    feat: add fit-in-view action

  • Gary Wang Gary Wang committed [4c07a8]

    chore: tweak fit-in-view menu action behavior

  • Gary Wang Gary Wang committed [3f9fa6]

    ui: rework all action icons

  • Gary Wang Gary Wang committed [7a0ed5]

    fix: zoom out and then reset scale will display a mosaic image

  • Gary Wang Gary Wang committed [e20562]

    fix: prev and next arrow not vertically centered in some case

  • Gary Wang Gary Wang committed [c9e327]

    chore: use QToolButton instead of QPushButton for bottom bar

  • Gary Wang Gary Wang committed [066b84]

    chore: use utf8 for decoding metadata value

  • Gary Wang Gary Wang committed [a400dc]

    i18n: update ts files

  • Gary Wang Gary Wang committed [6b2db5]

    fix: now always copy original pixmap

  • Gary Wang Gary Wang committed [62f485]

    feat: display more image metadata

  • Gary Wang Gary Wang committed [7d2816]

    chore: hide two actions that not ready to be in release

  • Gary Wang Gary Wang committed [8b86fb]

    fix: use metainfo.xml suffix instead of appdata.xml

  • Gary Wang Gary Wang committed [71e8df]

    fix: memory leak when switching between animated image files

  • Gary Wang Gary Wang committed [3e51cd]

    fix(CI): QT_PLUGIN_INSTALL_DIR is deprecated, use KDE_INSTALL_QTPLUGINDIR instead

  • Gary Wang Gary Wang committed [e92ccb]

    Revert "feat: fit by width"

  • Gary Wang Gary Wang committed [69802a]

    fix: navigator view not get updated in some edge case

  • Gary Wang Gary Wang committed [038d04]

    feat: fit by width

  • Gary Wang Gary Wang committed [e4d54e]

    Update README.md

  • Gary Wang Gary Wang committed [6acafc]

    feat: add exif copyright info and gif frame count to property dialog

  • Gary Wang Gary Wang committed [8ae93a]

    fix: should show any animated image than just gif

  • Gary Wang Gary Wang committed [52a788]

    ci(build): use the install/strip target instead of CMAKE_CXX_FLAGS_RELEASE

  • Gary Wang Gary Wang committed [8c0596]

    fix: get rid of wrong tr() usage

1 >
MongoDB Logo MongoDB