Text Justification
Posted: Mon May 19, 2014 8:33 pm
[English]-------------------------
I am using Print System for print text with justified alignment.
I created a routine for justification. It works very well if used with a monospaced font. But I need to use other types of fonts and my routine is not for this (see attached test). Does anyone have another routine or know how to calculate the spacing for TrueType fonts?
I thank any help.
Amarante
[portuguese]-------------------------
Justificação de Texto
Estou usando Print System para imprimir um texto com alinhamento justificado.
Eu criei uma rotina pra justificação. Ela funciona muito bem se for usada com uma font monoespaçada. Mas eu preciso usar outros tipos de fonts e a minha rotina não serve para isso (veja o test em anexo). Será que alguem tem uma outra rotina ou sabe como calcular o espaçamento para fontes TrueType?
Desde já agradeço qualquer ajuda.
Amarante
I am using Print System for print text with justified alignment.
I created a routine for justification. It works very well if used with a monospaced font. But I need to use other types of fonts and my routine is not for this (see attached test). Does anyone have another routine or know how to calculate the spacing for TrueType fonts?
I thank any help.
Amarante
[portuguese]-------------------------
Justificação de Texto
Estou usando Print System para imprimir um texto com alinhamento justificado.
Eu criei uma rotina pra justificação. Ela funciona muito bem se for usada com uma font monoespaçada. Mas eu preciso usar outros tipos de fonts e a minha rotina não serve para isso (veja o test em anexo). Será que alguem tem uma outra rotina ou sabe como calcular o espaçamento para fontes TrueType?
Desde já agradeço qualquer ajuda.
Amarante