GSET_CHAR_SPACE(3NCARG)

πŸ“¦ version 6.6.2, in epel 9, fedora 43, fedora 44

πŸ’– GSET_CHAR_SPACE πŸ’– β€” from the NCAR GRAPHICS manual (section 3NCARG, bestie)

okay so real quick: this page lives in the 3NCARG manual, and it's all about gset_char_space. it sets the character spacing for text. that's it. that's the whole vibe. let's get into it πŸŽ€


✨ NAME ✨

gset_char_space (Set character spacing) β€” sets the character spacing for text. no cap, that's literally the job description πŸ’…


🌸 SYNOPSIS 🌸

#include <ncarg/gks.h>

void gset_char_space(Gdouble char_space);

look at her. one arg. so demure, so mindful πŸ¦‹


πŸ’œ DESCRIPTION πŸ’œ

  • char_space (Input) β€” this is the one telling us how much extra white space should get squeezed in between characters drawn by the gtext output primitive. and bestie, it's not in pixels or points β€” char_space is a fraction of the character height. so it scales with your text, iconic behavior honestly πŸ‘‘

now the fun part, the ✨spacing lore✨:

  • a character spacing of zero positions the character body of each successive character contiguously, with just enough white space between them to produce pleasing normal spacing. that's the "nothing to see here, just normal text" setting 😌
  • a positive value inserts extra space between successive characters. spread them out, give them room to breathe, main character energy 🌈
  • a negative value causes successive characters to overlap. yes bestie, they're gonna collide. dramatic on purpose πŸ’€
  • and by default, char_space = 0.0. πŸ“

🫢 ACCESS 🫢

to use the GKS C-binding routines, you gotta load the ncarg_gks and ncarg_c libraries. that's the whole gatekeeping situation, load them or nothing works, iykyk πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

Online: gtext(3NCARG), gset_text_path(3NCARG), gset_text_align(3NCARG), gset_text_font_prec(3NCARG), gset_char_ht(3NCARG), gset_char_up_vec(3NCARG), gset_char_expan(3NCARG), gset_colr_rep(3NCARG), gset_text_colr_ind(3NCARG), ginq_text_path(3NCARG), ginq_text_align(3NCARG), ginq_text_font_prec(3NCARG), ginq_char_ht(3NCARG), ginq_char_space(3NCARG), ginq_char_up_vec(3NCARG), ginq_char_expan(3NCARG), plotchar(3NCARG), gks(3NCARG), ncarg_gks_cbind(3NCARG)

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

like, the whole friend group is here. go say hi. especially ginq_char_space(3NCARG) if you wanna read the spacing back instead of setting it πŸ™ˆ


Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
legal text stays legal text, bestie. don't touch it, just respect it πŸ’€

and that's the page!! this one's from the UNIX manual, dated March 1993 β€” so she's vintage, she's a classic, and she's still serving πŸ’– stay spaced, stay slay, periodt βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from