PINE LIBRARY

font

By kaigouthro
Updated
Library "font"
Unicode Characters Replacement function for strings.

uni(_str, _number)
  Unicode Font Substitutee
  Parameters:
    _str: Input Strinbg
    _number: Font by Int input

uni(_str, _number)
  Unicode Font Substitutee
  Parameters:
    _str: Input Strinbg
    _number: Font by Name input
Release Notes
v2
added:


Release Notes
v3

Update, slightly faster overall and fewer local scopes created for large scripts, fixed typo on //param for string input
Release Notes
v4
Now with Whitespace chars for a shortcut for those who use.
sorted largest at top to smallest.
any errors default to thin space.

int or string inputs.

Added:
space(_type)
  Hidden WhiteSpace Characterrs
  Parameters:
    _type: (string) WhiteSpace Type
  Returns: String Whitespace
Release Notes
v5

Added:
indent(_size)
  Indenter
  Parameters:
    _size: (intt) Number of tabs
  Returns: String of N number tabs
designdisplayfontformatformattingstringstringstextunicode

Pine library

In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in a publication is governed by House rules.

Disclaimer