Elektrine lite

← Feed

@seanpm2001@techhub.social

Post #1460527

2026-04-20 06:01 UTC

I am not getting very good results online, so I am asking here. Is it possible to apply bold/italic to only the combining character of a letter (such as the ̈ within ö) The character did not render correctly in my post (after pasting, the mark applied to the e, it didn't while I was drafting this) I am referring to the combining character in the included image, or U+0308 (Combining Diæresis) I have been working on a large linguistic dictionary, and I am interested in doing something like this. #linguistics #unicode #richtext #formatting #syntax #help

Replies (2)

  • @hweimer@fediscience.org 2026-04-20 06:55

    @seanpm2001@techhub.social XeLaTeX can do this. The first one is a regular bold ö, the second is what you are looking for, and the third is U+308 + o without any bold font.

    Open ##2254027

  • @alerque@mastodon.social 2026-04-20 08:29

    @seanpm2001@techhub.social No, as a general rule shaping can only be applied to glyphs inside a single font. Styles like italic and weights are identified as different fonts. If you really need to accomplish this you need to subset both fonts then combine them again with mix-matched subsets to put all the marks you need in the same font face. Then just hope the mark anchors are in the same place across faces.

    Open ##2254031