No digas eso amigo, simplemente tienes una pregunta!Italia1 wrote:
Sorry for my stupid question
Saludos
Moderator: Rathinagiri
No digas eso amigo, simplemente tienes una pregunta!Italia1 wrote:
Sorry for my stupid question
Thanks - Muchas gracias !!!Javier Tovar wrote:No digas eso amigo, simplemente tienes una pregunta!Italia1 wrote:
Sorry for my stupid question
Saludos
Code: Select all
#xcommand @ <Row> , <Col> PRINT [ DATA ] <cText>
Code: Select all
#xcommand @ <Row> , <Col> HPDFPRINT [ DATA ] <cText>
No amigo, no responden los comandos o a lo mejor nos falta algo. esperemos que alguien con más experiencia nos conteste.Italia1 wrote:
EDIT - With HPDFPRINT someone have underline or italic?
We hope thisJavier Tovar wrote: No amigo, no responden los comandos o a lo mejor nos falta algo. esperemos que alguien con más experiencia nos conteste.
Saludos
Yes gentlemen. You are right ! UNDERLINE, ITALIC and also STRIKEOUT are not working in HMGHPDF. I made also tests in C:\HMG.3.2\hfcl\Samples\HMGHPDFDoc without good results.Italia1 wrote:We hope thisJavier Tovar wrote: No amigo, no responden los comandos o a lo mejor nos falta algo. esperemos que alguien con más experiencia nos conteste.
Saludos
I think that the solution is in my suggestion of my 1st post, but I don't konw how change the code
------
Te esperamos todos!
Creo que la solución es, de hecho, mi sugerencia en mi primer post. Pero no puedo cambiar el código.
-----
Lo speriamo tutti!
Penso che la soluzione sia nel mio suggerimento fatto nel mio primo post. Ma non so modificare il codice.
Great Rathinagiri: we believe in you! Thank you for existing!Pablo César wrote:Yes gentlemen. You are right ! UNDERLINE, ITALIC and also STRIKEOUT are not working in HMGHPDF. I made also tests in C:\HMG.3.2\hfcl\Samples\HMGHPDFDoc without good results.
I also checked in HMGHPDF source code in HMG_HPDF.Prg and seems is missing these properties.
Lets wait for Rathinagiri, whos is concerned in this job and give us any solution.
Code: Select all
function _HMG_HPDF_PRINT ( nRow, nCol, cFontName, nFontSize, nRColor, nGColor, nBColor, cText, lBold, lItalic, lUnderline, lStrikeout, lColor, lFont, lSize, cAlign )
local nWidth := _HMG_SYSDATA[ 150 ][ 4 ]
local nHeight := _HMG_SYSDATA[ 150 ][ 5 ]
local nTextWidth := 0
local nxPos := _HMG_HPDF_MM2Pixel( nCol )
local nyPos := nHeight - _HMG_HPDF_MM2Pixel( nRow )
local oFont := Nil
local cFont := ''
default cFontName := ''
default nFontSize := 12
default nRColor := 0
default nGColor := 0
default nBColor := 0
default lBold := .T.
default lItalic := .T.
default lUnderline := .T.
default lStrikeout := .f.
default lColor := .f.
default lFont := .f.
default lSize := .f.
default cAlign := ''
Leyendohttps://github.com/libharu/libharu/wiki/Fonts encontre que hay fuentes Italic o BoldItalic pero no Underline.@..HPDFPRINT
This command is used to render a single line of text data in the specified font, size, color and alignment at the specified row and column.
The text rendered is left aligned unless otherwise specified. Only following Base14 fonts are built-in.
Courier, Courier-Bold, Courier-Oblique, Courier-BoldOblique, Helvetica, Helvetica-Bold, Helvetica-Oblique, Helvetica-BoldOblique, Times-Roman, Times-Bold, Times-Italic, Times-BoldItalic, Symbol, ZapfDingbats. The text will be rendered in the current character encoding.
Helvetica is the default font if no fontname is specified. Default fontsize is 12.
True Type Fonts can also be used if the absolute address of the True Type Font file is mentioned. Otherwise the TTF shall be required at the runtime in the same directory as of the executable file.
Sample : HPDFPRINT "The font is Tscparan.TTF" FONT "Tscparan.TTF" size 12
Solo queda cargar las fuentes TTF con soporte Underline, las internas solo son estasJavier Tovar wrote:Gracias Pablo César y DanielMaximiliano por contestar, esperemos si Rathinagiri tiene una solución!
Saludos
Built-in base14 fonts
Courier
Courier-Bold
Courier-Oblique
Courier-BoldOblique
Helvetica
Helvetica-Bold
Helvetica-Oblique
Helvetica-BoldOblique
Times-Roman
Times-Bold
Times-Italic
Times-BoldItalic
Symbol
ZapfDingbats
base14 fonts are only able to display the latin1 character set. To use other character sets, an application must use other fonts.