Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
General
»
How to open a file (.ttf) without installing?
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Error installing EyeCandy...
by
madref
[
Today
at 12:46:05 am]
Lazarus undead repository...
by
CM630
[August 11, 2026, 11:40:09 pm]
LRS Explorer
by
CM630
[August 11, 2026, 11:33:24 pm]
Identify network devices
by
Warfley
[August 11, 2026, 10:55:13 pm]
The best name for procedu...
by
J-G
[August 11, 2026, 07:49:19 pm]
var vs out
by
Paolo
[August 11, 2026, 06:37:35 pm]
[UNSOLVED] Splitting an i...
by
madref
[August 11, 2026, 05:40:09 pm]
Lazarus Bugfix Release 4....
by
geraldholdsworth
[August 11, 2026, 04:55:42 pm]
[Solved[ How to define th...
by
Mike.Cornflake
[August 11, 2026, 03:42:11 pm]
Dataset EnableControls/Di...
by
Mike.Cornflake
[August 11, 2026, 03:37:42 pm]
'ReadStr' ?
by
J-G
[August 11, 2026, 03:07:16 pm]
Debugging in a real termi...
by
Martin_fr
[August 11, 2026, 02:59:09 pm]
how to bring in view the ...
by
Aruna
[August 11, 2026, 02:33:55 pm]
Is it possible to communi...
by
dbannon
[August 11, 2026, 02:15:44 pm]
TFPHTTPServer DDoS protec...
by
LemonParty
[August 11, 2026, 12:54:23 pm]
enable easy marker moveme...
by
Paolo
[August 11, 2026, 12:10:00 pm]
Unleashed Pascal (async/a...
by
creaothceann
[August 11, 2026, 12:09:09 pm]
MOVED: soucis scrollbars ...
by
Martin_fr
[August 11, 2026, 11:09:38 am]
soucis scrollbars V4.8 ?
by
Martin_fr
[August 11, 2026, 11:08:13 am]
Star Wars Galaxian
by
PierceNg
[August 11, 2026, 10:37:08 am]
[closed] Is case for stri...
by
egsuh
[August 11, 2026, 10:27:17 am]
Automatic generation of *...
by
dbannon
[August 11, 2026, 09:00:50 am]
Gtk3 becomes default widg...
by
dbannon
[August 11, 2026, 08:44:10 am]
TurboBird for FireBird 5
by
laguna
[August 11, 2026, 07:45:04 am]
Bugs caused by the weathe...
by
dsiders
[August 11, 2026, 04:40:59 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to open a file (.ttf) without installing? (Read 7365 times)
Robson
New Member
Posts: 47
How to open a file (.ttf) without installing?
«
on:
December 06, 2010, 05:45:36 pm »
Lazarus 0.9.29 r28578 FPC 2.4.0 i386-linux-gtk 2
______________________________________________
I use Lazarus on
Linux
Ubuntu 10:10
How to open a file (.ttf) without installing?
I want to use a particular font in my program.
thanks
Logged
Robson
New Member
Posts: 47
Re: How to open a file (.ttf) without installing?
«
Reply #1 on:
December 06, 2010, 07:56:53 pm »
This link explains how to do, but I can not put the source in a TLabel for example. Does anyone know?
http://wiki.lazarus.freepascal.org/fcl-image
example = Drawing text
help me please
thanks
Logged
Robson
New Member
Posts: 47
Re: How to open a file (.ttf) without installing?
«
Reply #2 on:
December 07, 2010, 09:39:46 am »
nobody knows?
Logged
Robson
New Member
Posts: 47
Re: How to open a file (.ttf) without installing?
«
Reply #3 on:
December 08, 2010, 09:06:58 pm »
up
I just wanted to do something like:
Label1.Font := MyFont;
(I created this
.ttf
)
Logged
Laksen
Hero Member
Posts: 802
Re: How to open a file (.ttf) without installing?
«
Reply #4 on:
December 08, 2010, 09:12:26 pm »
I'm not sure about font management on Linux. But I'm not sure you can actually do this directly. You can emulate it by using freefont directly to draw to canvases, but not assign as a TFont, unless it's allowed indirectly by the widgetset
Logged
Robson
New Member
Posts: 47
Re: How to open a file (.ttf) without installing?
«
Reply #5 on:
December 08, 2010, 11:17:13 pm »
ok, thanks
Solution: install the font on the deb package
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
General
»
How to open a file (.ttf) without installing?
TinyPortal
© 2005-2018