CDRH / chesnutt

Rails site code for the Charles W. Chesnutt Archive https://chesnuttarchive.org
0 stars 0 forks source link

Smallcaps rendering #198

Open karindalziel opened 1 year ago

karindalziel commented 1 year ago

For smallcaps text, if the text in the tag is in all caps, I can't actually render it small caps

so instead of

<addrLine><hi rend="smallCaps">ATTORNEY-AT-LAW,</hi></addrLine>

it should be

<addrLine><hi rend="smallCaps">Attorney-at-Law,</hi></addrLine>

for this letterhead example

Screen Shot 2022-12-06 at 4 03 44 PM

karindalziel commented 1 year ago

once this is done, remove the text-transform: lowercase; rule from the rule that matches

.SmallCaps,
.tei_hi_rend_smallCaps,
.tei_hi_rend_smallcaps
karindalziel commented 1 year ago

I'm discovering that smallcaps tags aren't very consistent - do we want to render this at all?

Screen Shot 2022-12-09 at 8 59 33 AM

kmcmullen commented 6 days ago

For the correspondence, at least, we've decided NOT to encode smallcaps any more. We haven't systematically gone back and removed it for old letters but going forward we are not doing it, and I've been removing it in old letters as I come across it.