AcessoSoft Posted August 10, 2018 Report Share Posted August 10, 2018 Costumo usar COURIER para relatórios. Isso porque essa fonte alinha os caracteres verticalmente independente da largura da letra. Principalmente quando utilizo valores numéricos, a "font" Courier. garante que os números ficarão alinhados verticalmente nas colunas. Entretanto, estou com um probleminha ao gerar PDF e suponho que este problema esteja relacionado ao tipo de "FONT". Quero usar outra "FONT". Alguém poderia indicar uma fonte de aparência profissional que alinhe números e letras verticalmente nas colunas igualmente a Courier faz? Quote Link to comment Share on other sites More sharing options...
kapiaba Posted August 10, 2018 Report Share Posted August 10, 2018 DEFINE FONT oFont NAME "Segoe UI" SIZE 0,-12 OF oPrn DEFINE FONT oFont NAME "Courier New" BOLD SIZE 0, -12 OF oPrn DEFINE FONT oFont NAME "Arial" SIZE 0, -10 BOLD OF oPrn DEFINE FONT oFont NAME "Ms Sans Serif" SIZE 0, -12 OF oPrn Quote Link to comment Share on other sites More sharing options...
AcessoSoft Posted August 11, 2018 Author Report Share Posted August 11, 2018 As fontes acima citadas, não possuem as características que necessito. Somente a "Courier New" (que já uso) e a Ms Sans Serif que é uma fonte feia pra caramba. A demais não alinham caracteres verticalmente. Que tem alguma sugestão de fonte que NÃO SEJA a Courier New e tenha tamanhos fixos? Quote Link to comment Share on other sites More sharing options...
AcessoSoft Posted August 11, 2018 Author Report Share Posted August 11, 2018 Fiz alguns testes aqui e achei uma fonte chamada "Lucida Console". Quote Link to comment Share on other sites More sharing options...
AcessoSoft Posted August 11, 2018 Author Report Share Posted August 11, 2018 Aproveitar pra listar outras fontes que nos meus testes obtive o mesmo efeito de alinhamento vertical (não importa se é número, letra maiúscula ou minúscula). Agency FB, BatangChe, Consolas, Courier, Courier New, DFKay-SB, DotumChe, FangSong, FixedSys, GulimChe, GungSuhChe, Kaiti, Lucida Console, Lucida Sans Typewriter, Ms Gothic, Ms Mincho, MingLiu, NSimSun, Niagara Engraved, Niagara Solid, OCR A Extended, Simplified Arabic Fixed, Quote Link to comment Share on other sites More sharing options...
ram_bh Posted August 15, 2018 Report Share Posted August 15, 2018 Olá! Para relatórios é recomendado o uso de fontes mono-espaçadas (que ocupam o mesmo espaço na horizontal). No meu caso, utilizo a 'Lucida Console' com tamanhos variados conforme o tamanho da linha. Um abraço! Rodrigo Melo BH / MG Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.