GSET_CHAR_SPACE(3NCARG)
π 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 thegtextoutput primitive. and bestie, it's not in pixels or points βchar_spaceis 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 β
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
- epel 9: ncl-devel 6.6.2-59.el9 Β· LicenseRef-Callaway-BSD
- fedora 43: ncl-devel 6.6.2-58.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: ncl-devel 6.6.2-62.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms