Has anyone seen this and know of a fix? I’m runnin...
# cfml-general
j
Has anyone seen this and know of a fix? I’m running across a screwy issue with cfdocument in cf2021. It’s sticking space characters between each letter in some parts of the document. It’s only hitting bolded text, whether it’s from being a th or a b or having a font-weight specified. Where it happens, it affects everything on that line, but a line break starts a new block of text which may or may not also have it. If I take lines that have it and lines that don’t, and rearrange them, the spacing stays with the text, not the location. It’s not always obvious with the smaller text, just looks like kerning is off or spacing is weird, (wasted hours trying to fix that before realizing the actual problem) but if I copy and paste it into a fixed font size text editor, it’s immediately clear. A few examples attached.
d
Shot in the dark here JC: your chosen font may have a missing "bold" variation (or "black" in some cases). If it's a non-standard font, it's entirely possible that cfdocument is not picking up on the bold variation. I say this only because you mentioned "*It's only hitting bolded text*" and I've had that happen before with bold and italicized text. Just a thought. It my case I had installed:
Copy code
Roboto-Regular.ttf 
Roboto-Bold.ttf
But it wasn't working until I installed
Copy code
Roboto-BoldItalic.ttf