GINQ_TEXT_FONT_PREC(3NCARG)
β¨ NAME β¨
okay so bestie, this is ginq_text_font_prec from the NCAR Graphics manual (that's the 3NCARG section, iykyk) β and what it does is retrieve the current setting of the text font and precision values. that's the whole vibe. it asks, it tells you. no drama. π
πΈ SYNOPSIS πΈ
#include <ncarg/gks.h>
void ginq_text_font_prec(Gint *err_ind, Gtext_font_prec
*text_font_prec);
like, that's the whole incantation. two pointers in, truths out. β¨
π DESCRIPTION π
okay so here's the tea on each of the arguments, because they're doing different jobs and we love them for it:
err_indβ (Output) this is the vibe check. if the inquired values can't be returned correctly, a non-zero error indicator gets dropped intoerr_ind. otherwise it's a clean zero. if you wanna know what the error indicators actually mean, go consult the "User's Guide for NCAR GKS-0A Graphics" β that's where the lore lives. πtext_font_prec.fontβ (Output) hands you the font number, as set by default or by a call togset_text_font_prec. and listen: font number one is a simple default ASCII font. meanwhile values for font between-2and-20(inclusive, bestie, both ends count) are Hershey fonts. iconic little range. π«text_font_prec.precβ (Output) gives you the text precision, as set by default or by a call togset_text_font_prec. possible values include:GPREC_STRINGβ String precision (good)GPREC_CHARβ Character precision (better)GPREC_STROKβ Stroke precision (best) π
yes it's literally a good/better/best ladder, and yes we're obsessed with that for them.
π¦ ACCESS π¦
to use the GKS C-binding routines, you gotta load the ncarg_gks and ncarg_c libraries. that's the ticket in. π
π SEE ALSO π
Online: gtext(3NCARG), gset_text_path(3NCARG), gset_text_align(3NCARG), gset_text_font_prec(3NCARG), gset_char_ht(3NCARG), gset_char_space(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
(not me linking the entire friend group. the way they all showed up together. π«Ά)
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
and that's the whole page, bestie π β it's GINQ_TEXT_FONT_PREC(3NCARG), straight out of NCAR GRAPHICS, dated March 1993, from the UNIX side of the family. periodt. π β¨π
π¦ 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