Comments (4)
There's plenty of PHP 7.1 and lower in the world still! I just checked CentOS 7, and it will currently install PHP 5.4 if you ask yum for PHP (+ years of redhat backported security patches, but still php 5.4).
The relationship between php, GD and various distros is not as simple as you would like. I haven't checked recently if Debian still use the actual gd package rather than PHP's own bundled gd. But if that's the case, then there is still a distinction, because the functionality is (AFAIK) still different.
I'll check into the current situation on a variety of OS. I'm far more concerned with answering "I enabled antialiasing and I'm not getting it" over and over, than removing a few words from the manual. Agreed that expanding it might be useful though.
It's not TTF antialiasing, it's line-drawing anti-aliasing, incidentally. freetype draws with antialiasing anyway.
Personally, I think it looks ugly, anyway :-)
from network-weathermap.
Yep, Debian still use libgd, not bundled: https://packages.debian.org/stretch/php7.0-gd
This is what I'm talking about:
To enable GD-support configure PHP --with-gd[=DIR] , where DIR is the GD base install directory. To use the recommended bundled version of the GD library, use the configure option --with-gd .
https://www.php.net/manual/en/image.installation.php
from network-weathermap.
Yep... my point was that since the assertion in the changes file is the logical opposite of what the PHP docs say, it leads to confusion. It certainly let to confusion by me - I'm using an older PHP (7.0), with the built-in GD, and antialiasing is working for me. I went down a rabbit hole this morning because of the caveat in the changelog, without thinking of zooming in enough to tell if it was antialiased or not...
BTW, I agree about ugly - small, rotated text is nearly illegible one of our maps [https://observium.merlin.mb.ca/weathermap/infrastructure.html].
from network-weathermap.
Again, imageantialias() is nothing to do with text, it affects line drawing - so links and nodes.
Freetype does its own antialiasing when rendering fonts. I'm pretty sure it always does it. It's also not great, especially at angles, at inter-character and inter-line spacing. That's been a problem for quite some time (if it still does it, since 2007 - I haven't checked in a while), and why I stopped trying to add cool text features. ("cool" like multi-line text). It partly depends on the font you use, but not completely. That's when I decided SVG would be a better place to spend some time, if I ever got it :-)
I will have a look at improving the manual. I think probably by expanding what check.php says about it, and referring to that, since check.php can actually look at your php installation, even if you don't know how it got there.
from network-weathermap.
Related Issues (20)
- cant install on cacti 1.2.4 HOT 4
- Weathermap CACTI 1.2.7 HOT 5
- Any workaround for changing SNMP Indexes ? HOT 4
- Weathermap cannot run outside dir HOT 5
- Overlib Issue HOT 4
- Unable to view Realtime Graph in Weathermap HOT 10
- Weathermap full size view blank sometime HOT 7
- Incorrect calculation of points in angled "via" option HOT 6
- Editor does not work HOT 5
- Give Cacti User Read-only access of single weather Map HOT 3
- Incorrect calculation of COMMENTPOS
- Create copy - Incorrect permissions HOT 1
- I can't Unzip HOT 1
- Is this project abandoned? HOT 8
- Weathermap.class.php warnings HOT 11
- PHP8 Deprecations HOT 2
- Weathermap issue with SQLSTATE[HY000]: General error: 1364 Field 'last_time' doesn't have a default value'
- New weathermap plugin installation error HOT 2
- ZABBIX V6
- How can I change the color of the NODE in the ‘weathermap’ plugin? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from network-weathermap.