Skip to main content
Filter by
Sorted by
Tagged with
3 votes
1 answer
166 views

I want to put more spaces between letters in text in Cairo. Cairo doesn't seem to have a native implementation for changing inter-letter spacing. It seems like Pango should be a natural fit. However, ...
cryptarch's user avatar
  • 199
1 vote
1 answer
197 views

Using the C cairo api or the pangocairo api how can I load a custom ttf font file? How do I select the font for use when rendering some text? and.. Can I load the font from RAM rather than a file path?...
Maximilian's user avatar
0 votes
0 answers
123 views

I have tried these two approaches below with no luck. If I change the first command line and replace pango: with caption: it works, but prints the html markup in the text. When I use pango: it simply ...
Chris's user avatar
  • 879
0 votes
1 answer
154 views

Have a Gtk project and with Pango can use custom fonts, but need use a specific font from the project only without install it on the system, need change only a specific text. I can't set a new font ...
e-info128's user avatar
  • 4,156
0 votes
0 answers
60 views

Ruby 3.3.2, Rails 7.1.3.3, ImageMagick 7.1.1-33, Rmagick 6.0.1 I use rmagick with pango and I want to calculate the correct number of lines as I'm dynamically selecting the font. In order to correctly ...
Vlad Fomenko's user avatar
0 votes
1 answer
149 views

I have followed this guide and did: brew install pkg-config cairo pango libpng jpeg giflib librsvg on a Mac M1 and got stuck on this issue when I ran npm install in the project. Any idea how I can ...
Bjørson Bjørson's user avatar
0 votes
1 answer
129 views

I've successfully created a window with xcb-rs. When I try to write text to that window with pangocairo, it only renders if I write the surface to a png. If I try to, for example, draw a rectangle ...
qelxiros's user avatar
0 votes
1 answer
855 views

RHEL 9.4 does not have the PKG_CONFIG_PATH environment variable configured even though pkg-config is installed. Therefore, cargo cannot build pango-sys because the pango.pc file is needed. Setting the ...
Joshua Shane Martin's user avatar
3 votes
3 answers
12k views

After installing DaVinci Resolve 19.0b1 on Ubuntu 24.04, nothing happens when you try to run the desktop app. Attempting to run the application in a terminal gives the following error message and then ...
Daniel Adelodun's user avatar
0 votes
1 answer
231 views

I just simply want to set a default font using GTK4, but the examples I found don't work. This code below is what I used and it does absolutely nothing; it doesn't even give me an error. So I have no ...
Ralph St.Albord's user avatar
1 vote
0 answers
118 views

My intent is to draw a text along a path using Pango and Cairo libraries in Rust. For this I need to get x position of glyph center on the line and its width. It must take into account properties like ...
Martin Ždila's user avatar
0 votes
1 answer
47 views

With Cairo, stroking a circular path with a thick stroke has an undesired result. The circles have a hollow region. Is there a way to prevent this problem?
Tom Sirgedas's user avatar
  • 3,298
0 votes
1 answer
850 views

I have no idea what source file to edit or how to ammend the line. I am installing xplanet-1.3.0 on ubuntu 22.04 from source. I have installed the prerequisites as necessary. ./configure works fine. ...
Molly's user avatar
  • 153
0 votes
0 answers
370 views

I'm trying to build pango (https://github.com/GNOME/pango) as a static library. It is using Meson build which I'm not familiar with. Anyway, the compile steps succeed, but linking fails with a lot of ...
Paavo's user avatar
  • 111
0 votes
1 answer
130 views

I'm trying to modify text2image from the Tesseract OCR training code to output antialiased text. I've tried tried the suggestions from both Andreas and Constantine in this SO Question: Change font ...
Danny's user avatar
  • 2,711
1 vote
0 answers
205 views

I've looked at multiple posts on SO about how setting up pango or cairo is giving them errors and i tried setting it up a few times myself, but unfortunately there are just so many errors in the ...
sanchi0212's user avatar
1 vote
0 answers
278 views

I am able to add colors, italics, and bold to change text in my srt for moviepy which is great, but pango does not have a stroke property how could I implement this? After searching for a few hours I ...
user avatar
1 vote
1 answer
1k views

Using gtkmm 3.0 with c++, in a Gtk::Window, I have a Gtk::Label named "bezeichnung" showing text. How can I change the font of this label? There seems to be no function to set the font for a ...
bejo's user avatar
  • 67
0 votes
0 answers
625 views

I am using Moviepy to write text on videoclip. Without method=pango it gives proper results But when I use method=pango it does not show the text and shows some unrecognizable characters My textclip ...
Yadnesh Salvi's user avatar
-4 votes
1 answer
127 views

I'm trying to subclass the Pango::Renderer to draw text on an osg::Texture2D, but I cannot find a public constructor (except a copy-constructor) in its header file, neither another method to create a ...
TheEagle's user avatar
  • 6,005
0 votes
2 answers
848 views

When i try to open the .exe file from the Gtk4 build i get the above error The procedure entry point hb_ot_color_glyph_has_paint could not be located in the dynamic link library CAmsys64\mingw64\bin\...
Shadow_Knight's user avatar
2 votes
0 answers
119 views

Below is what should be a reproducible example of the code that doesn't work. It's based on the introduction sample from the GTK documentation. I am using v4.8.3 of Gtk and v1.50.12 of Pango. #include ...
rburmorrison's user avatar
0 votes
1 answer
188 views

I am writing an extension / widgets for gnome-shell.So I want to show some information using text. Actually I want to put text in middle of the circle using pangoCairo but I can't figure out how can I ...
Raihan Ahamed's user avatar
-1 votes
1 answer
1k views

I am installing Canon MG3650S printer/scanner on Ubuntu 22.04. It looks like something is wrong with installing libpango. I discovered that it was missing from the dependency list. However, after ...
katang's user avatar
  • 2,824
0 votes
1 answer
141 views

I have a GUI application written in python, that uses GTK and runs on Ubuntu, and it has been working well for many months. The GTK application uses gtk.Builder() and a Glade input file (a user ...
Walt's user avatar
  • 113
1 vote
0 answers
157 views

Pango is producing number of useless messages to console for common user. E.g. text2image --list_available_fonts produces huge number of lines like this: (process:24244): Pango-CRITICAL **: 13:07:20....
ZdPo Ster's user avatar
  • 342
1 vote
1 answer
10k views

I'm pretty new to pango and pangecairo, but I'd like to install a python binding of pango and pangocairo. I've installed pango, pangocffi, pangocairocffi via pip but it still tells me that no module ...
Li Wang's user avatar
  • 29
1 vote
0 answers
112 views

I was writing a program to render text to an image and draw bounding boxes around characters using Pango, Cairo and PangoCairo. I am using the Rust bindings to these libraries called gtk-rs. After ...
PuiPuiTuiPui's user avatar
0 votes
1 answer
123 views

I'm trying to find a way to figure out the byte length of the text inside the PangoLayout. I'm setting the text like this: pango_layout_set_markup(layout, "<i>Hello World</i>", -...
Andreas's user avatar
  • 10.5k
1 vote
0 answers
284 views

I can't seem to use almost any of my system fonts without getting a: couldn't load font error on my windows 10. I have IM installed with cairo/pango and am trying to use convert. I've found that Arial ...
S P's user avatar
  • 15
2 votes
1 answer
788 views

The GstBaseTextOverlay object used for GStreamer's Pango-based plugins (textoverlay, clockoverlay, etc.) has a color property. Its documentation describes it as follows: “color” guint Color of the ...
Reign of Error's user avatar
0 votes
2 answers
265 views

I have a GtkSource.View with the wrap mode set to Gtk.WrapMode.CHAR. When it wraps, it inserts - at the end of the line. How can I prevent that? In my research I found that the Pango library has a ...
user avatar
0 votes
1 answer
240 views

I was installing ImageMagick in ubuntu,by mistake i installed the default 16 bit quantum depth version, but i needed the 8 bit version,so i unintsalled the 16 bit version using make uninstall from the ...
Vishal Kumar's user avatar
1 vote
2 answers
2k views

Im running the command such as following and this command broadcasts the video to ethernet port. But here is my question that how I can add overlay onto video where overlay values are stored in shared ...
muradaltay's user avatar
1 vote
1 answer
136 views

So I am yet again facing another problem concerning my extension. I would like to calculate the number of lines in a notification, based on its width and height. For context, I am designing an ...
kaanginam's user avatar
1 vote
1 answer
2k views

I want to draw a simple text with Cairo in an app using Gtkmm. I want to give the font style (it can be Pango::FontDescription or Pango::Context and so on ...) directly to draw text with Cairo when ...
mohamadp91's user avatar
1 vote
1 answer
469 views

Noob alert! I'm not exactly competent with C/C++ programming Hi, I'm working on a C++ NodeJS addon, in which I'd like to use Cairo/Pango, but I'm having a number of linking issues. I can reasonably ...
J-Cake's user avatar
  • 1,710
3 votes
1 answer
507 views

I try to convert Pascal-Code Files to an image (jpg, png) an find pongo-view as a good solution. Is there a way to add syntax-highlighting in the Output files? I am happy about any hints :) Thanks
thiemol's user avatar
  • 61
0 votes
0 answers
129 views

We have tests that check how code build on Gtk with Pango and Cairo renders shapes and text. I can't get font rendering to match between different developers computers and CI. The font seems to render ...
Stuart Axon's user avatar
  • 1,874
0 votes
1 answer
270 views

I was trying to build gnome-shell latest using jhbuild: $jhbuild build -n gnome-shell End up with an error as below: I: Install complete: 207 files copied *** Building pango *** [24/92] ninja [108/...
Sameer Lattannavar's user avatar
3 votes
1 answer
9k views

I am trying to run on package/software “KUPDAP (Kyoto University Plasma Dispersion Analysis Package)”, which can be downloaded from http://space.rish.kyoto-u.ac.jp/software/ (Download executable file (...
sreeraj t's user avatar
  • 2,697
0 votes
0 answers
297 views

On a C++ game, we're using Pango to render text with cairo and from there to an OpenGL texture. I noticed this problem recently while working on implementing text-wrapping via Pango. What I'm doing is ...
Gregorio Litenstein's user avatar
0 votes
2 answers
1k views

I am new to the Embedded Linux. I am trying to display a string text different alignments. But when I use the Pango. It aligned correctly for the single words without space characters in it. But some ...
Arun Kumar K S's user avatar
1 vote
2 answers
5k views

I am trying to install the open-source version of PyMOL on a mac through the Homebrew package manager as recommended on the official website: https://pymolwiki.org/index.php/MAC_Install#Open-...
Jean-Marc Billod's user avatar
0 votes
1 answer
138 views

how to use pango markup in messagedialog text using variable For example this code void usb_boot::creation(){ //Gtk::MessageDialog dialogue(*this, listeDeroulante.get_active_text()); std::string ...
kramer's user avatar
  • 337
0 votes
1 answer
3k views

I am trying to compile libs for usage on OS X 10.8 and newer. When I am building for example libpng library, I am using this script and it works (resulting library is compatible with OS X 10.8 and ...
Martin's user avatar
  • 93
4 votes
1 answer
978 views

I am working with ImageMagic with firebase cloud function. I am using non english language so for that I am using Pango. With Pango custom fonts is not working convert -size 200x200 -font ...
Muhammad chhota's user avatar
1 vote
1 answer
443 views

I'm working on a program where I'm using PangoLayout for text layout and Cairo for rendering, and I'm having trouble with text with multiple lines (or rather, text that contains new line characters). ...
Luke Zhou's user avatar
  • 134
0 votes
1 answer
334 views

I have been chasing a problem between PyCairo and PangoCairo. The following code illustrates it: import math import cairo import gi gi.require_version('Pango', '1.0') gi.require_version('PangoCairo', ...
s-m-e's user avatar
  • 3,789
0 votes
1 answer
1k views

I am encountering the following error (twice) when I try to disable an entry field: (SDS-CW:7145): Pango-CRITICAL **: 16:38:37.521: pango_layout_get_cursor_pos: assertion 'index >= 0 && ...
Jack Pollock's user avatar

1
2 3 4 5