Comments (2)
Original problem has 2 different sources:
- on localized (not "en_us") Linux, fontconfig library returns strings in current locale, in case they are available in the font (MS Arial has translations for styles). Since cairofont.cpp has styles hardcoded in English (f.e. "Regular"), they do not match. Triggering the second problem...
To check that is the case: "fc-match Arial" does not print "Regular", but its translation.
- as already written before, in case required style can not be found there is no check. That produce mentioned crash.
Possible solution for (1) is one line patch for lib/platform/linux/cairofont.cpp :
auto pattern = FcPatternCreate ();
(new line) FcPatternAddString (pattern, FC_NAMELANG, (FcChar8 *)"en-us");
auto objectSet = FcObjectSetBuild (FC_FAMILY, FC_FILE, FC_STYLE, nullptr);
Alternatively, crashing program can be started with LANG=en (or at least FC_LANG=en)
from vstgui.
Should now at least be fixed on the develop branch.
from vstgui.
Related Issues (20)
- Bogus error "unsupported compiler"
- Project doesn't install anything HOT 4
- Some modern casting issues.. CBitmapPixelAccess::setPosition and itmapPixelAccess::operator++ HOT 2
- Reintroduce setBackOffset() / getBackOffset() and respect the backOffset in all views / controls HOT 4
- FR - Linux HIDPI support HOT 9
- Requesting accessibility implementation, expose GUI controls to platform specific APIs HOT 7
- Use of new CMultiBitmap implementation in CAnimKnob is not backwards compatible HOT 1
- 4.12.1 cswitch.cpp fails compilation with VSTGUI_ENABLE_DEPRECATED_METHODS=0 HOT 1
- CAnimKnob not receiving mouse button release in some hosts HOT 20
- Unhandled exception when using vstgui HOT 2
- compile error after updating to Xcode 14.3: no member named 'move' in namespace 'std'
- getChildViewsOfType() with option 'deep' searches only one level deep HOT 1
- ui built on ver 4.11+ will flicker especially run on vst3plugintesthost 64bit HOT 8
- Issue when building with Xcode 14.3 HOT 1
- Segment Button segment names string gets replaced by parameter steps normalized value in Release build HOT 3
- Font drawing inconsistencies between Mac and Windows HOT 5
- [Windows] Cannot move window after a COptionMenu has been popped up HOT 2
- Standalone application crash with newest version of vst3sdk (3.7.9) on Windows when using transforms HOT 6
- std::unique_ptr of forward-declared types HOT 1
- COptionMenu().getMax() returns 18446744073709551616
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vstgui.