fplotlib_text module#

fplotlib_text (module)#

Procedures

text_face (function)#

pure elemental function text_face(weight, slant) -> face
Arguments:
weightinteger, intent(in)
slantinteger, intent(in)
Returns:
faceinteger

text_width (function)#

function text_width(s, size, face) -> w
Arguments:
scharacter(len=*), intent(in)
sizereal(kind=dp), intent(in)
faceinteger, intent(in)
Returns:
wreal(kind=dp)

check_font (subroutine)#

subroutine check_font(face, size)
Arguments:
faceinteger, intent(in)
sizereal(kind=dp), intent(in)

text_layout (subroutine)#

subroutine text_layout(s, size, face, x0, y0, run, xend)
Arguments:
scharacter(len=*), intent(in)
sizereal(kind=dp), intent(in)
faceinteger, intent(in)
x0real(kind=dp), intent(in)
y0real(kind=dp), intent(in)
runtype(glyphrun_t), intent(inout)
xendreal(kind=dp), intent(out)

code_points (subroutine)#

subroutine code_points(s, cps, n, first, last)
Arguments:
scharacter(len=*), intent(in)
cpsinteger, allocatable, intent(out), dimension(:)
ninteger, intent(out)
firstinteger, allocatable, intent(out), optional, dimension(:)
lastinteger, allocatable, intent(out), optional, dimension(:)

run_reset (subroutine)#

subroutine run_reset(run)
Arguments:
runtype(glyphrun_t), intent(inout)

run_add (subroutine)#

subroutine run_add(run, gid, x, y, fs)
Arguments:
runtype(glyphrun_t), intent(inout)
gidinteger, intent(in)
xreal(kind=dp), intent(in)
yreal(kind=dp), intent(in)
fsreal(kind=dp), intent(in)

run_map (subroutine)#

subroutine run_map(run, first_glyph, last_glyph, text, math)
Arguments:
runtype(glyphrun_t), intent(inout)
first_glyphinteger, intent(in)
last_glyphinteger, intent(in)
textcharacter(len=*), intent(in)
mathlogical, intent(in), optional

run_copy (subroutine)#

subroutine run_copy(source, dest)
Arguments:
sourcetype(glyphrun_t), intent(in)
desttype(glyphrun_t), intent(out)

run_shift (subroutine)#

subroutine run_shift(run, k0, dx, dy)
Arguments:
runtype(glyphrun_t), intent(inout)
k0integer, intent(in)
dxreal(kind=dp), intent(in)
dyreal(kind=dp), intent(in)