GSCHSP(3NCARG)

✨ GSCHSP β€” it's giving "Set character spacing" ✨

okay bestie, so this is a page from the NCAR GRAPHICS manual, and today's main character is GSCHSP. she's a lil Fortran-callable routine whose whole job is setting the character spacing for text. lowkey simple, highkey iconic. πŸŽ€


🌸 NAME 🌸

GSCHSP (Set character spacing) β€” sets the character spacing for text. that's it, that's her whole vibe. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

CALL GSCHSP (CHSP)

πŸ’– C-BINDING SYNOPSIS πŸ’–

if you're living that C life instead (valid!), here's your glow-up version:

#include <ncarg/gks.h>

void gset_char_space(Gdouble char_space);

πŸ‘‘ DESCRIPTION πŸ‘‘

  • CHSP β€” (Real, Input) β€” this is the one telling us how much extra white space gets squeezed in between characters that are drawn using the GTX output primitive. and the way that CHSP is measured?? it's a fraction of the character height. so not a fixed number of pixels, it scales with the text. periodt. ✨

so like, here's the tea on what your number actually does:

  • A character spacing of zero positions the character body of each successive character contiguously, with enough white space between them to produce pleasing normal spacing. so it's snug but still cute. no cap, this is the default look.
  • A positive value inserts extra space between successive characters. spread them out, let them breathe, main character energy for every letter fr fr. 🌈
  • A negative value causes successive characters to overlap. yes, actually overlap. dramatic, chaotic, occasionally exactly what you want. 😭

and by default, CHSP = 0.0. so if you never touch it, bestie, you get the pleasing normal spacing. 🫢


🌟 ACCESS 🌟

to use GKS routines, load the NCAR GKS-0A library ncarg_gks. that's the whole thing. go get your library, iykyk. πŸ’œ


πŸŽ€ SEE ALSO πŸŽ€

Online: gtx, gstxp, gstxal, gstxfp, gschh, gschup, gschxp, gscr, gstxci, gqtxp, gqtxal, gqtxfp, gqchh, gqchsp, gqchup, gqchxp, plotchar, gset_char_space

Hardcopy: User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Fundamentals, UNIX Version


Copyright (C) 1987-2009 University Corporation for Atmospheric Research

The use of this Software is governed by a License Agreement.

not me putting the legal bit in a whole section but like... it's required, bestie. read it. 🫑

okay that's the whole page!! πŸ¦‹πŸ’– thanks for scrolling all the way to the bottom, you're literally the best. this was NCAR Graphics, documented in the UNIX manual, dated March 1993 β€” yeah she's vintage, she's timeless, she ate and left no crumbs. mwah. πŸ’…πŸŒΈ