From 575416e4452f29ec08fb783ebdd19995fde41f2d Mon Sep 17 00:00:00 2001 From: Tadashi Saito Date: Tue, 6 May 2025 20:48:15 +0900 Subject: [PATCH] Fix markup of a clode block in Texture Healing.md --- docs/Texture Healing.md | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/docs/Texture Healing.md b/docs/Texture Healing.md index e6fadbdc..06ac2182 100644 --- a/docs/Texture Healing.md +++ b/docs/Texture Healing.md @@ -143,15 +143,11 @@ A note on OpenType classes: these are sequential containers. The order of elemen Once these classes are defined, a series of lookups are defined, such as: -**`lookup** defaultLeftPass {` - -*`#if a glyph that can take space is to the left of a glyph that can give space, cause the glyph that can give space to extend to the right`* - -*`#sample: im = i.left m;`* - -**`sub** @defaults_can_give_space' @defaults_can_take_space **by** @can_give_space_left;` - -`} defaultLeftPass;` +
lookup defaultLeftPass {
+#if a glyph that can take space is to the left of a glyph that can give space, cause the glyph that can give space to extend to the right
+#sample: im = i.left m;
+sub @defaults_can_give_space' @defaults_can_take_space by @can_give_space_left;
+} defaultLeftPass;
Each has been thoroughly commented to describe its purpose, using the # commenting syntax in OpenType feature code. Each contains a ‘#sample’ portion, which shows a hypothetical before/after swap in OpenType (as if the glyphs were hard-coded, when in fact the logic is class-based).