https://github.com/memononen
Usually you pick the text style from the previous character, so that if you write something after a bold text, it will be bold.
Except links, where the style does not "bleed". It's ok to type in the middle, though.
Usually you pick the text style from the previous character, so that if you write something after a bold text, it will be bold.
Except links, where the style does not "bleed". It's ok to type in the middle, though.
Stuff like:
- what happens when you press enter after a header
- automatically starting a list when you start a line with -,
- or stuff like keeping the tabs in taps when typing code (who uses spaces, anyways!)
Stuff like:
- what happens when you press enter after a header
- automatically starting a list when you start a line with -,
- or stuff like keeping the tabs in taps when typing code (who uses spaces, anyways!)
There's a lot of rich text editing tricks to discover, like that when you press enter after a header, you will automatically get body text style.
There's a lot of rich text editing tricks to discover, like that when you press enter after a header, you will automatically get body text style.
My goal is to support roughly markdown for the rich text rendering and editing.
I'm trying my best to not make things complicated. For example I really would like to avoid adding hierarchy to the text.
My goal is to support roughly markdown for the rich text rendering and editing.
I'm trying my best to not make things complicated. For example I really would like to avoid adding hierarchy to the text.
There are always tons of small details, like changing the caret to preview the italic/oblique.
There are always tons of small details, like changing the caret to preview the italic/oblique.
Gladly harfbuzz has embolden and slant so that I can fake it.
Gladly harfbuzz has embolden and slant so that I can fake it.
Something that let's me store info: "from here to there text is bold".
It should also support combining such spans using add or remove a span. And I wanted it to be "not much more complex than bit vector".
Something that let's me store info: "from here to there text is bold".
It should also support combining such spans using add or remove a span. And I wanted it to be "not much more complex than bit vector".
The biggest struggle is how to make things simple. I dont want to include an UI library in the text library (that would be another project). But it should not be too hard either.
The biggest struggle is how to make things simple. I dont want to include an UI library in the text library (that would be another project). But it should not be too hard either.
This merited another visit to the vertical text alignment rabbit hole. A lot of frustration and hopefully a solution.
This merited another visit to the vertical text alignment rabbit hole. A lot of frustration and hopefully a solution.
Ended up with some parts of CSS and some parts of Figma.
Ended up with some parts of CSS and some parts of Figma.
Context: In the Skribidi project, I have a set of assets that the example needs (fonts, etc). Currently they are copied to the bin folder in windows, and symlink on other systems. I wonder if there's something with Windows symlinks that will say meh?
Context: In the Skribidi project, I have a set of assets that the example needs (fonts, etc). Currently they are copied to the bin folder in windows, and symlink on other systems. I wonder if there's something with Windows symlinks that will say meh?
en.m.wikipedia.org/wiki/Oversho...
en.m.wikipedia.org/wiki/Kerning
en.m.wikipedia.org/wiki/Optical...
en.m.wikipedia.org/wiki/Oversho...
en.m.wikipedia.org/wiki/Kerning
en.m.wikipedia.org/wiki/Optical...
theorangeduck.com/page/debug-d...
theorangeduck.com/page/debug-d...
The IME itself is not part of Skribidi, it should be handled by the platform abstraction, but showing the IME composition is.
The IME itself is not part of Skribidi, it should be handled by the platform abstraction, but showing the IME composition is.
Next up: intermingling font and emoji rendering.
Next up: intermingling font and emoji rendering.
github.com/ocornut/imgu...
If all goes well : merge to main soon, create a new unpolluted thread for collecting feedback.
github.com/ocornut/imgu...
If all goes well : merge to main soon, create a new unpolluted thread for collecting feedback.
github.com/memononen/Sk...
github.com/memononen/Sk...
Can I do a bunch of small updates, or one big?
Last time I checked, the upload overhead was so big that one upload was better than many small.
Can I do a bunch of small updates, or one big?
Last time I checked, the upload overhead was so big that one upload was better than many small.