GSET_CHAR_SPACE(3NCARG)

✨ NAME ✨

gset_char_space β€” aka Set character spacing β€” and bestie, that's literally it: it sets the character spacing for text. Short king of a function, we stan. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <ncarg/gks.h>

void gset_char_space(Gdouble char_space);

🌸 DESCRIPTION 🌸

  • char_space (Input) β€” this is the one where you tell it how much extra white space to squeeze in between characters drawn with the gtext output primitive. And here's the vibe: char_space isn't in pixels or whatever, it's a fraction of the character height. Periodt. πŸ“

So like, how does each value behave? Let me break it down for you, no gatekeeping:

  • A character spacing of zero puts the character body of each successive character contiguously, with just enough white space between them to give you that pleasing normal spacing. It's giving default, it's giving intended.
  • A positive value inserts extra space between successive characters. Spread them out, bestie, let them breathe. 🫢
  • A negative value makes successive characters overlap. Yes, actually overlap. Chaotic, kinda iconic, use with intention. πŸ’€

And by default, char_space = 0.0. So if you never touch this, you're already living that contiguous life.


πŸ”₯ ACCESS πŸ”₯

To use the GKS C-binding routines, you gotta load the ncarg_gks and ncarg_c libraries. Load them both, don't skip, fr fr. 🧚


πŸ‘‘ 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

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

The use of this Software is governed by a License Agreement. Read it, bestie, it's the rules. πŸ“œ

Okay that's the whole page!! This one came straight out of the NCAR Graphics manual for UNIX, dated March 1993, and it lives under the manual name GSET_CHAR_SPACE(3NCARG) β€” so next time you're spacing out your characters, you'll know exactly who to thank. Mwah, stay slay, go space some text. πŸ’–βœ¨πŸŽ€