If intObj = 0: intObj = intMaxObject + 1: EndIf WriteStringN(mvarFileNumber, "%%EOF" + Chr(10)) WriteObj ("startxref" + Chr(10)+ Str(intTemp)) If (strImg "") Or (strObject ""): tmp + "/XObject >" + Chr(10): EndIf If strImg "": tmp + " /ImageB /ImageC /ImageI": EndIf Procedure Orientation(NewOrientation.i) pdfPageOrientation) Procedure PaperSize(New_PaperSize.i) pdfPaperSize) Procedure ScaleMode(New_ScaleMode.i) pdfScaleMode) If mvarPaperSize pdfUser: mvarPaperSize = pdfUser: EndIf If mvarPaperSize #pdfUser: mvarPaperSize = #pdfUser: EndIf Global mvarOrientation.i As pdfPageOrientationĭeclare.f Length(Phrase.s, FontName.s, Fontsize.f)ĭeclare Curve(x1.f, y1.f, X2.f, Y2.f, X3.f, Y3.f, Options.l = #Stroked)ĭeclare.l LeggeBMP(FileName.s, Array ImgBuf.b(1), Array ImgColor.b(1), *ImgWidth.l, *ImgHeight.l, *ImgBPP.b, ColorSpace.l = #pdfRGB)ĭeclare LoadImgFromArray(Name.s, Array ImgBuf.b(1), Array ImgColor.b(1), ImgWidth.l, ImgHeight.l, ImgBPP.b, ColorSpace,l = #pdfRGB) #pdfAllPages = #pdfEvenPages | #pdfOddPages | #pdfFirstPage #COPYRIGHT = "© 2003-2005 eLLeMMe" write your own here #AUTOR = "eLLeMMe / translated for PureBasic 4.31 by doctorized = "clsPDFCreator FREE Version" write your own here "Porting of clsPDFCreator - Luigi Micco ". to use this code in our programs, as long as we insert a note of copyright like this (or similar): The original code was writen for Visual Basic 6.0 by Luigi Micco. MessageRequester("Warning", "The given BMP-image" + Chr(10) + bmpImage + Chr(10) + "couldn't be found, this will probably cause problems with the created PDF-file!") Path$ = RemoveString(GetPathPart(ProgramFilename()),"PDF1.3.app/Contents/MacOS/") /Users/geoworld/GeoWorld2/Developing/PureBasic0.app/Contents/MacOS/ĬompilerElse Windows (Linux not tested) īmpImage.s = "heart_016.bmp" set your own file name here!ĬompilerIf #PB_Compiler_OS = #PB_OS_MacOSĬompilerIf #PB_Compiler_Debugger = 1 Debugger is onĬompilerElse Debugger is off (executable) Author: doctorized (reworked by Andre to work on MacOS) In general, if you see that the font after activation is visible in a simple standard application like WordPad and is not visible in Adobe application, this is a signal that the font is installed correctly in operating system and this issue is the matter of compatibility of Adobe app and the way how and where the font was installed. Thus in the latest release of FontExpert we had to set the default type of installation in Windows 10 to the one we used in earler version - installation for All users (which is not as convenient as the installation for current user as it requires from user to confirm administrator provileges).ģ) Sometimes when you activate a font it may have slightly different font name in Adobe fonts menu. In FontExpert we have supported this new type of installation provided by Microsoft in Windows 10, but users has reported that they do not see the fonts in Adobe applications when the fonts are installed for current user. It seems Adobe applications do not recognize fonts when they are installed "for current user". This is a very old problem and it was described on FontExpert support forum.Ģ) Latest version of Windows 10 supports new type of font installation: for the Current User. The reasons why Adobe applications may not recognize the fonts visible to other applications (like Wordpad) are the following:ġ) PostScript (Type 1) fonts may not be visible in Adobe app if the font are installed in a folder on a local disk, while Adobe applications accept them if the Type 1 fonts are located in a special common folder known to Adobe.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |