349 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
59
views
Thin Font Rendering Flutter [closed]
I recently decided to move my QML/Qt app into using Flutter. My app uses the Segoe UI font, and while it displays as I'd like in the Qt app in the Flutter app it is much thinner. I don't have any font ...
-1
votes
0
answers
35
views
Why does the word joiner change the font? [closed]
I copied a text from somewhere and parts of it are rendered (in various editors on Windows) in a different font, specifically in a proportional font in editors that normally render their text in a ...
0
votes
0
answers
81
views
How to fix IndoPak Arabic font overlapping (Kasra below letters) in React Native Quran app?
I am building a Quran app in React Native and using an IndoPak Nastaleeq font (ttf) to render Arabic text.
The problem is that some diacritics (especially Kasra ِ U+0650) are overlapping with letters ...
0
votes
0
answers
102
views
Text rasterisation using D2D/DWrite: glyph path bounds calculation
I'm trying to rasterise text in a specified font into an image to be written to a file; this is part of typeface testing, so layout, line breaks, etc. do not matter, but OpenType features like ...
1
vote
0
answers
31
views
How can I overlay anti-aliased styled text on a Bitmap using Canvas in Android?
I'm building an Android app where I need to overlay styled text on images using Canvas and Paint. I’ve successfully drawn basic text, but I'm running into two main issues:
Text appears jagged or ...
0
votes
0
answers
69
views
Rendering a scaled text on same code, same Chrome, same laptop and same monitor resolution differs when an external monitor is connected
I have this small codepen: https://codepen.io/Ardeshir81/pen/Byoapav
This is the code snippet:
<style>
.root { transform-origin: top left; scale: 20 }
span {
background:red; position:...
1
vote
1
answer
84
views
Text is rendered differently (shifted/scaled horizontally and vertically) on Safari vs. Chrome
Take a look at this codepen: https://codepen.io/Ardeshir81/pen/EaVYXJp
* {
font-family: "Audiowide";
font-weight: 900;
}
.root {
transform-origin: top left;
scale: 15
}
span {
background: ...
1
vote
2
answers
93
views
Blank space when creating a custom text rendering composable
I was trying to create custom text rendering composable using the the Canvas composable. However, I don't understand how TextMeasurer is calculating the final height of the composable.
Here is a ...
0
votes
1
answer
100
views
Handling DrawGlyphRun missing characters in WPF
I am using drawingContext.DrawGlyphRun in my scenario, as I need the best performance I can get as I am rendering a large amount of text at lots of different positions on screen.
However, I have come ...
0
votes
0
answers
54
views
Why is Canvas text thicker than SVG text with the same font size and font family? [duplicate]
I noticed that if I draw the text with the same font size and font family, the text on canvas is thicker than the text on SVG. Does anyone know what causes this and if it can be fixed? Is it possible ...
1
vote
0
answers
192
views
Incorrect vertical glyph alignment(bearing y) with HarfBuzz
I want to render the text as this:
But this is what I got:
here's the full code but for the sake of conciseness I also wrote a small demo in c:
#include "freetype2/ft2build.h"
#include &...
0
votes
0
answers
96
views
What is the best way to adjust the line spacing for text added to an image using R?
I'm currently working on a simple R script in RStudio that generates text-based images. I've almost completed the script and would like to share it with you. Here's my code so far...
# Check if ...
1
vote
1
answer
161
views
karaoke text rendering effect in my code is slow
I want the effect to run immediately when I call the function, but when I call the function I have to wait 3-4 seconds for the effect to work.
I use canvas in HTML
const canvas = document....
0
votes
0
answers
38
views
C++ SDL2 Text Renderer with the error: access violation reading location
I'm currently trying to create a game in C++17 with SDL2 (and SDL_ttf). When I'm trying to initialize the text renderer, I'm getting an error that says: "Exception thrown at 0x00007FFFB5A19116 (...
1
vote
0
answers
90
views
Is it valid in Harfbuzz to specify repeating cluster IDs in the unicode input?
I'm writing code which needs to find the advances for each grapheme in the original text (e.g., for cursor positioning and selection), and I would like to use the Unicode grapheme boundaries rather ...