A list of puns related to "Font Editor"
Just a matter of curiosity about which fonts people here are using in their work. I used Consolas for years, now changed to Lucida Console.
My problem is described in the title. I can't get the editor to change fonts. Here's a screenshot: https://i.imgur.com/2LuN5E8.png
If I change the size of the font, that works, but the font itself doesn't change.
Also, strangely, I noticed that if I switch themes to something like One Dark Pro, the font changes to the theme's fonts.
This leaves me wondering if it has something to do with the light theme overriding my custom font choice.
Does anyone know how to solve this? I can't code without quality fonts.
Editor View - Red Arrow for Font Input Field
Context
While working on getting text graphics (QGraphicsTextItem) working for my scene editor, I debated how to approach font loading. In my dialogue editor, because there was no previewer for what the dialogue was rendering, I didn't have to load anything; I could just defer them to the engine for previewing
However, because in this editor, everything is visualized, I had to find a way of loading fonts so users could see what the engine would see
What Happened
I realized early on that the main way Qt supports font loading is through it's 'QFontDatabase' object. However, after a ton of experimenting, I found that loading fonts doesn't return you really anything about that font. No object, technically no name (you get an ID that you can use to fetch it elsewhere), and mainly, no style / emphasis (IE. Bold, Italic, etc). So, this was bad. How do I use a font a user loads from a .ttf file when I have nothing to indicate what font, or font style to use?
I ended up grabbing the Pillow module which can inspect a .ttf file for the info I needed. With that, I got loading custom .ttf fonts working
Font matching by name
While doing the above, I was wondering how to access system fonts that were already loaded. I couldn't do it through a file path, so I'd need a different mechanism. UX design tells me "don't over complicate this", so I chose to make this one entry point provide both mechanisms. I ended up doing some string parsing on the input, where (in an order of priority), if the system detects you providing a file path (using the project directory as the lookup), it runs the above code. If not, then it looks up your input in the system fonts. If found, it uses it.
To ensure the user can also provide the style (Bold, Italic, etc), I do a string.split("|", 1), which then nets me the style to look up
Summary
Fonts are hard. Mechanisms for smooth font loading are hard. Qt is hard. I'm tired and bitter now
All in all, I hope I'm wrong, and that I missed a way for Qt to let me do what I want to do. If anyone knows, please prove me wrong!
Source File:
github.com/Cronza/HeartbeatEngine/blob/dev/HBEditor/Core/Managers/font_manager.py
Repo:
[github.com/Cronza
... keep reading on reddit β‘I appreciate that the Visual Studio team is continually trying to improve the VS environment for developers. However, I find the fonts and colors used in the VS 2022 editor to be too loud and mentally taxing. I'd very much like to change the VS 2022 text editor fonts and colors to match what I'm use to in VS 2019.
Unfortunately it's not a simple as going into Tools > Options > Environment > Fonts and Colors and changing the font from Cascadia Code back to Consolas. Sure one can do that, and that's a step forward but the font coloring is then too light. This is apparently because the font colors in general were lightened in VS 2022 to partially compensate for the fact that Cascadia Code is a very heavy font. This of course makes sense, IF you want to keep Cascadia Code as the editor font. But I don't. I want to switch back to Consolas, and I'd like the font coloring that VS 2019 used as well.
So anybody know an easy way to get the VS 2022 editor to use the text color coding that VS 2019 uses?
To start, I should say that I'm veritably clueless as to how to write any CSS. I've consulted with multiple previous posts about font styling with no success. I imagine that what I'm asking has probably been answered a million times, and I'm genuinely sorry if I'm violating community rules and being a bother.
I want to change the fonts for all headings and paragraph text across the document. To my understanding, I'm supposed to use the style editor for that. I also read on another post on this subreddit that using google fonts is easiest.
In the style editor, I paste the import text (I use Eczar to test Eczar - Google Fonts ):
@import url('https://fonts.googleapis.com/css2?family=Eczar:wght@800&display=swap');
By inspecting a heading, I find the following code:
.page h1, .page h2, .page h3, .page h4 {
font-family: MrEavesRemake;
font-weight: 800;
color: #58180D;
}
When I dabble with the number for the color, all headings in the document change accordingly, so I try to change the font by typing the following code in the style editor:
.page h1, .page h2, .page h3, .page h4 {
font-family: 'Eczar', serif;
font-weight: 800;
color: #58180D;
}
And the font does change, yet not to Eczar, but some default font. No matter what font I try to add, I get the same default result.
Furthermore, styling headings is only one of my goals - I have zero clue how to change the font for the main text paragraphs (or the notes, for that matter). I should add that I also tried changing a single heading's style in the brew editor using the curly brackets with no success.
I thank anyone generous enough with their time to help me.
This was made in Illustrator. Tell me if I should make the file available here for others.
https://preview.redd.it/jarj9mp1l9i71.png?width=1920&format=png&auto=webp&s=f0d63dbd40001e9cc440b5cfda38f6082781b5ee
On my title page, I have a title and a subheading. I want to change the size of the font in the subheading. But for some reason, you can't just click the subheading text editor and change it. How the hell am I supposed to change it? I can change the words, make the font bold or underlined or italicized, but can't change the font itself or its size here. WTF.
I'd like to see more lines of code at once without having to use an external editor.
It'd be nice to select from Google fonts, the current one is nice but it gets hard on the eyes long term IMO
Spent way too long customizing things and trying themes, now settled on the combination of the Dracula Colorful theme, and Incosolata as a font.
Also, I found it weird to have conflicts with macOS shortcuts by default, certain shortcuts are conflicted with other IDE ones right from the get go !
What are your settings?
I installed st
and patched it with font2
(https://st.suckless.org/patches/font2/) in order to add a few backup fonts and be able to show Font Awesome icons properly.
This seems to work, for example I have a python script that outputs the current Spotify song and uses the Spotify icon from Font Awesome, see image here: https://i.imgur.com/CtsjrpZ.png
However, when I open that script with any editor using the terminal, e.g. Vim or Nano, the icon is not shown, see image: https://i.imgur.com/yVqYOZi.png
Does anyone know what could be happening here? Happy to provide more information/context if needed
How do I change my terminal/editor (vim/nvim) font from a .ttf file?
I would like to change to font for other parts of the app besides the editor. I've google for a solution but I can't find one. I think there's some hacks to do this but I don't really want to do it that way. Is there a setting hidden somewhere to change this or is it not possible?
There is an "Add Local Font" button at the bottom of the font selection list.
So you can download the Shavian fonts locally and then use them in image edits.
Hi! So, I'm having troubles migrating from windows, trying to open my project but can't progress in that because of this weird error. I tried to find on google if anyone else had this exact issue but couldn't so that's why I'm asking here. Has anyone else encountered this issue? How did you fix it?
To clarify, it's 4.26 branch, up to date. Built with latest cmake and clang (cuz arch), had no errors in the process of compilation. Text is fine while in the Editor and in any project, only this specific popup window scenario is the problem. (Problem occured on both KDE Plasma and XFCE4)
Thank you!
I was just wondering if you lovely people could direct me to a good website for browsing and window-shopping open source fonts! Thank you in advance and sorry if this isn't the place to ask! <3
Seems like there's so many different ways to change how big the UI is in VSCode. What I want is a hotkey to change the font size. It seems ctrl + = / ctrl + - change the font zoom level, but this is not the same as the font size. This is editor.action.fontZoomIn
or editor.action.fontZoomOut
. But I want to easily change the value of editor.fontSize
.
As a longtime Thunderbird user, I am still very frustrated by its text editor.
Especially the font sizes, which I find kinda dumb and difficult to control. It has only 5 options (very small, small, medium, big, very big) and when I copy paste a text from somewhere else, 50% of the time it is all messed up and I can't get it to the right font size.
Anyway, am I missing something ?
How can I get a regular text editor, with normal font size selector (10, 12, etc.) ?
Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.