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 thegtextoutput primitive. And here's the vibe:char_spaceisn'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 π
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. πβ¨π
π¦ where this page comes from
- debian bookworm: libncarg-dev 6.6.2.dfsg.1-1
- debian trixie: libncarg-dev 6.6.2.dfsg.1-10+b2
- ubuntu jammy: libncarg-dev 6.6.2-10build2
- ubuntu questing: libncarg-dev 6.6.2.dfsg.1-10build2
- ubuntu resolute: libncarg-dev 6.6.2.dfsg.1-12
- ubuntu stonking: libncarg-dev 6.6.2.dfsg.1-12build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms