Comments (18)
It has no effect, its just for documentation. You can see it in the UI - specific public methods are bold for example. It isn't used consistently at the moment. It is one of the annotations you can make on objects or slots.
from self.
Do you mean Visibility: public
? I did not see any bold method names in Linux X11, is that macOS specific?
from self.
If I define font alias for verdana
, verdanaBold
and verdanaItalic
in X11Globals fontFamily
, bold fonts can be displayed correctly.
I'd like to file those new slots out, I already set they to scalableFont
module, but that module can not be found in All Modules list, then how can I file it out?
from self.
Found it in "Changed Modules", and here's PR #73.
from self.
What Linux are you on?
from self.
I'm on Ubuntu 15.04 and don't see a difference in font between public and private slots. The patch in PR #73 has no visible effect either but it does stop the warning in the console about verdana not existing.
from self.
I'm on Debian 8.
I double checked PR #73 and confirm that bold font can be shown in slot names. e.g. in shell
object, help
slot is shown in bold font.
from self.
Odd, maybe I don't have the required fonts. Here's a screenshot:
from self.
Linux fonts have been a pain point for a while. We're using the oldest font handling part of X11 and the available fonts are not just limited but vary from distro to distro.
from self.
Yes, a solution might be to continue on https://bluishcoder.co.nz/2015/01/08/improving-linux-font-support-in-self.html
from self.
Here is my screenshot, pay attention to help
slot and buttons on top right.
from self.
Hi @doublec, when looking more closely to your screenshot, I found that all texts seem to be displayed with fixed
font.
Could you install xfonts-75dpi
and xfonts-100dpi
and try again? Those two package contains helvetica
font.
from self.
Could you install xfonts-75dpi and xfonts-100dpi and try again? Those two package contains helvetica font.
I've installed the packages, but I don't see the help
in bold. But all other fonts are now super weird.
Before:
After:
from self.
I would say displaying all UI texts in monospace font is also a bit unusual.
helvetica
will look better if in larger size. Following screenshot is run with following configuration:
selfCatOrObjModel moduleSummaryFontSpec size: 16.
selfGeneralSlotModel undeclaredTitleFontSpec size: 14.
selfGeneralSlotModel privateTitleFontSpec size: 14.
selfGeneralSlotModel publicTitleFontSpec size: 14.
generalCategoryModel objectTitleFontSpec size: 16.
generalCategoryModel objectTitleFontSpec style: 'bold'.
generalCategoryModel subcategoryTitleFontSpec size: 14.
ui2_textField fontSpec: globals fontSpec copyName: '9x15bold' Size: 15.
ui2Menu defaultFontSpec: ui2Menu defaultFontSpec copySize: 16.
from self.
BTW, @Bystroushaak, did you apply changes in PR #73? It is needed to show bold font slot names.
from self.
I would say displaying all UI texts in monospace font is also a bit unusual.
That is the default configuration, I didn't change anything on my system.
BTW, @Bystroushaak, did you apply changes in PR #73? It is needed to show bold font slot names.
Ah, now I get it. I will try that later.
from self.
@Bystroushaak, read screenshots in handbook more closely, you will find that monospace font was not used so heavily there.
http://handbook.selflanguage.org/4.5/howtoprg.html
from self.
With further investigation, I found that changes in #73 is not needed. To show bold slot names, run following code (make sure that you have fonts times
installed):
selfGeneralSlotModel publicTitleFontSpec name: 'helvetica'.
from self.
Related Issues (20)
- 32bit time and Year 2038 problem HOT 1
- Segmentation fault when try to "Show Traits Family" of "traits collection" HOT 3
- Incorrect document of "mixins clonable"?
- Add option to suppress startup messages?
- High CPU usage of Self
- Stack Overflow sending simple message to empty list HOT 3
- Self Organization proposal HOT 2
- Unicode input / output support in GUI HOT 20
- Building on Windows HOT 2
- Doing two "make" one-after-the-other still rebuilds part of the project HOT 3
- 'string capitalizeAll' doesn't work for numbers HOT 4
- Windows prebuilt binary / installer on site HOT 3
- Website Down HOT 1
- Linux pre-built: fails to start gui on ubuntu18.04.2 x86-64 HOT 7
- Disappointing performance on a simple loop HOT 5
- Java port (and full implementation tutorial to save the language) HOT 1
- Doesn't run on macOS Catalina 64 bit HOT 1
- Will you add Apple Silicon (M1) support? HOT 1
- Memory allocation issues on Linux
- Outliner title can not be changed HOT 1
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 self.