[Bf-committers] Patch review D3666: Changes on Font vertical alignment

Dalai Felinto dfelinto at gmail.com
Sat Sep 1 16:53:16 CEST 2018


Hello everyone,

I would like to ask/invite other developers to review the patch D3666 [1].

This subject is a bit hairy since I don't see any clear industry standard
on how to handle this. You can use the font metrics (what I'm doing),
hardcoded margins (e.g., 80%, 20% as Google Slides does), dynamic alignment
(varying based on what you type - as Scribus does). Or even something
arbitrary as using the x-height for center alignment (which only works for
lowercase-only cases).

It goes without saying that as the original author of the vertical
alignment options I'm happy with the patch result.

Artists used to work with fonts are welcome to test as well, a windows
build is here for convenience too [2].

For those on Linux, I also have a sample file with the Microsoft standard
fonts. I'm unsure on their license in regard to upload permanently to a
server, so I'm hosting it myself instead [3].

[1] - https://developer.blender.org/D3666
[2] -
http://dalaifelinto.com/ftp/builds/font-alignment-blender-2.80-50253272bcd-win64.zip
[3] - http://dalaifelinto.com/ftp/tmp/ms_packed.blend

Thanks for your time,
Dalai
--
blendernetwork.org/dalai-felinto
www.dalaifelinto.com


More information about the Bf-committers mailing list