» ModulesEX9TextMetrics
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

ModulesEX9TextMetrics

Finally a usable version for creating metric text in the directx renderers.

Works now relatively fast with bigger texts. Supports different fonts per slice and lot of other features.

Also includes an overworked fontmapbuilder patch (by woei and west) which both generates the fontmap and a file with the metrics.

Download here:
Text (EX9 Metrics) & FontMap builder v2.1 13.Aug.07.zip (3.64 Kb)

Features:

  • Supports Carriage Returns
  • Everything is fully spreadable
  • Multiple Fonts Support
  • Alignment: Left Justified, Centered, Right Justified
  • Easy positioning and scaling of whole textblocks via transform in
  • Access to transform each character separately for special fx.
  • Create Fontmaps & Metrics easy with one click with the included fontmapbuilder patch.

Bugs

v2.1

  • You saved your module with 5 spreads to the Spacing X.
  • In the patch where it says: <- select the right metrics data for each fontmap, there is a * sign with 1768 (!!!!) slices. Meaning I always end up with at least 11768 quads.
  • The naming of the Helpfile is missing 1 space.
  • Think you need to bang the Reader and Filetexture on OPENING cozz when I only open the Text thing, the reader keeps on showing no output. I manual switched the load pin, or I changed the Font a few times (to trigger the change) not sure, but initial you don't get font-widths.

To Do:

  • Automatic Linespearation (could be tricky)
  • Better Textquality for small fonts (tonfilms bicubic shader or special fontmaps for small fonts.
  • more inlets for controlling each character independently (like color alpha, spacing (for doing kerning)
  • Tags (maybe HTML for doing Sizechanges, colorchanges, fonchanges within one slice)
  • Text along Pathes
  • Embedded metrics in the fontmap .png file (Woei?)
  • any other suggestions?
  • cleaner patch :)

anonymous user login

Shoutbox

~11h ago

joreg: @mediadog: indeed, fixed that!

~11h ago

mediadog: @microdee @joreg Aha! I had glanced at that list, but assignment was lurking beyond the scrollbar. Athankew!

~13h ago

joreg: first-come-first-serve tickets are now sold out except the "delegate" ones. others are still available from here: https://nodeforum.org/journal/node17-tickets/

~14h ago

~15h ago

microdee: @mediadog: default is set via assignment (equal sign)

~1d ago

mediadog: No default for effect parameters, just min and max?

~1d ago

microdee: regular *fcfs tickets for #node17 are already sold out, and non lowered regular ticket isn't available straight from main page

~2d ago

mediadog: @evvvvil Man if that was 10th I want to see 1-9. 4kb, insane!

~2d ago

evvvvil: @sinus, thankx a lot broh! LJ, guy from my group desire, won shader showdown :) couldn't enter as qualifiers were on Friday. Peace

~3d ago

sinus: @evvvvil: great!! nvscene shader live coding 666: https://www.youtube.com/watch?v=O-1zEo7DD8w