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
Migrating SK1 Project to ...
by
jamie
[
Today
at 09:13:45 pm]
[SOLVED] The main screen ...
by
Hansvb
[
Today
at 06:50:52 pm]
Transparent Form: Some Th...
by
LV
[
Today
at 05:53:43 pm]
[SOLVED] Don't find the U...
by
Hartmut
[
Today
at 05:23:36 pm]
Debian removes FPC/Lazaru...
by
dsiders
[
Today
at 05:07:33 pm]
[Closed]FPC error when us...
by
marcov
[
Today
at 04:19:50 pm]
LCL Web Native with D2Bri...
by
mdalacu
[
Today
at 04:18:53 pm]
Sidmon Player Library
by
Gigatron
[
Today
at 02:56:58 pm]
Lazaris IDE v4.4 - extrem...
by
backprop
[
Today
at 02:16:58 pm]
Who is absent from year 2...
by
backprop
[
Today
at 01:52:41 pm]
[RESOLVED] Log in to web ...
by
rvk
[
Today
at 01:26:35 pm]
Status of FPC 3.4.0 or FP...
by
marcov
[
Today
at 12:54:39 pm]
Help with diabetes projec...
by
slicke
[
Today
at 12:13:28 pm]
it2play - IT/S3M module r...
by
Lulu
[
Today
at 10:00:59 am]
FPC and Lazarus coding st...
by
Martin_fr
[
Today
at 09:21:46 am]
Free Pascal for a small e...
by
cdbc
[
Today
at 07:06:42 am]
FPCUnit returns 2 error l...
by
n7800
[
Today
at 02:43:55 am]
Defaults for features
by
Martin_fr
[
Today
at 02:07:48 am]
TLazSerial : serial port ...
by
CM630
[February 06, 2026, 11:02:03 pm]
function intersect in laz...
by
wp
[February 06, 2026, 08:30:39 pm]
Notetask 1.1.0 - Free cro...
by
AlexanderT
[February 06, 2026, 02:33:56 pm]
Rolling releases Lazarus[...
by
marcov
[February 06, 2026, 02:07:36 pm]
lazarus IDE anchordock ba...
by
szlbz
[February 06, 2026, 12:53:12 pm]
Upload multipart POST req...
by
OH1KH
[February 06, 2026, 11:53:17 am]
Ininside ProjectSession, ...
by
d2010
[February 06, 2026, 10:34:50 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to open a file (.ttf) without installing? (Read 7305 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